6#ifndef BITCOIN_RPC_PROTOCOL_H
7#define BITCOIN_RPC_PROTOCOL_H
HTTPStatusCode
HTTP status codes.
@ HTTP_SERVICE_UNAVAILABLE
@ HTTP_INTERNAL_SERVER_ERROR
RPCErrorCode
Bitcoin RPC error codes.
@ RPC_CLIENT_NODE_NOT_CONNECTED
Node to disconnect not found in connected nodes.
@ RPC_WALLET_NOT_SPECIFIED
No wallet specified (error when there are multiple wallets loaded)
@ RPC_WALLET_INVALID_ACCOUNT_NAME
Backwards compatible aliases.
@ RPC_WALLET_INVALID_LABEL_NAME
Invalid label name.
@ RPC_WALLET_UNLOCK_NEEDED
Enter the wallet passphrase with walletpassphrase first.
@ RPC_WALLET_ALREADY_UNLOCKED
Wallet is already unlocked.
@ RPC_OUT_OF_MEMORY
Ran out of memory during operation.
@ RPC_FORBIDDEN_BY_SAFE_MODE
Unused reserved codes, kept around for backwards compatibility. Do not reuse.
@ RPC_VERIFY_ALREADY_IN_UTXO_SET
Transaction already in utxo set.
@ RPC_CLIENT_INVALID_IP_OR_SUBNET
Invalid IP/Subnet.
@ RPC_MISC_ERROR
General application defined errors.
@ RPC_WALLET_INSUFFICIENT_FUNDS
Not enough funds in wallet or account.
@ RPC_WALLET_ALREADY_EXISTS
There is already a wallet with the same name.
@ RPC_CLIENT_NODE_ALREADY_ADDED
Node is already added.
@ RPC_WALLET_WRONG_ENC_STATE
Command given in wrong wallet encryption state (encrypting an encrypted wallet etc....
@ RPC_WALLET_ENCRYPTION_FAILED
Failed to encrypt the wallet.
@ RPC_TYPE_ERROR
Unexpected type was passed as parameter.
@ RPC_CLIENT_MEMPOOL_DISABLED
Chain errors.
@ RPC_TRANSACTION_REJECTED
@ RPC_TRANSACTION_ERROR
Aliases for backward compatibility.
@ RPC_METHOD_DEPRECATED
RPC method is deprecated.
@ RPC_CLIENT_NOT_CONNECTED
P2P client errors.
@ RPC_INVALID_PARAMETER
Invalid, missing or duplicate parameter.
@ RPC_IN_WARMUP
Client still warming up.
@ RPC_WALLET_ERROR
Wallet errors.
@ RPC_WALLET_ALREADY_LOADED
This same wallet is already loaded.
@ RPC_VERIFY_ERROR
General error during transaction or block submission.
@ RPC_WALLET_NOT_FOUND
Invalid wallet specified.
@ RPC_WALLET_KEYPOOL_RAN_OUT
Keypool ran out, call keypoolrefill first.
@ RPC_DATABASE_ERROR
Database error.
@ RPC_CLIENT_IN_INITIAL_DOWNLOAD
Still downloading initial blocks.
@ RPC_CLIENT_NODE_NOT_ADDED
Node has not been added before.
@ RPC_DESERIALIZATION_ERROR
Error parsing or validating structure in raw format.
@ RPC_WALLET_PASSPHRASE_INCORRECT
The wallet passphrase entered was incorrect.
@ RPC_INVALID_REQUEST
Standard JSON-RPC 2.0 errors.
@ RPC_VERIFY_REJECTED
Transaction or block was rejected by network rules.
@ RPC_CLIENT_NODE_CAPACITY_REACHED
Max number of outbound or block-relay connections already open.
@ RPC_INVALID_ADDRESS_OR_KEY
Invalid address or key.
@ RPC_CLIENT_P2P_DISABLED
No valid connection manager instance found.