6 #ifndef FABCOIN_RPCPROTOCOL_H 7 #define FABCOIN_RPCPROTOCOL_H 101 #endif // FABCOIN_RPCPROTOCOL_H No wallet specified (error when there are multiple wallets loaded)
UniValue JSONRPCReplyObj(const UniValue &result, const UniValue &error, const UniValue &id)
Aliases for backward compatibility.
bool error(const char *fmt, const Args &...args)
std::string JSONRPCReply(const UniValue &result, const UniValue &error, const UniValue &id)
Node has not been added before.
Keypool ran out, call keypoolrefill first.
Ran out of memory during operation.
Enter the wallet passphrase with walletpassphrase first.
bool GenerateAuthCookie(std::string *cookie_out)
Generate a new RPC authentication cookie and write it to disk.
Wallet is already unlocked.
Transaction or block was rejected by network rules.
HTTPStatusCode
HTTP status codes.
bool GetAuthCookie(std::string *cookie_out)
Read the RPC authentication cookie from disk.
Invalid, missing or duplicate parameter.
UniValue JSONRPCRequestObj(const std::string &strMethod, const UniValue ¶ms, const UniValue &id)
JSON-RPC protocol.
General error during transaction or block submission.
The wallet passphrase entered was incorrect.
Transaction already in chain.
Unexpected type was passed as parameter.
Command given in wrong wallet encryption state (encrypting an encrypted wallet etc.)
General application defined errors.
Invalid wallet specified.
void DeleteAuthCookie()
Delete RPC authentication cookie from disk.
Failed to encrypt the wallet.
Not enough funds in wallet or account.
Node to disconnect not found in connected nodes.
Server is in safe mode, and command is not allowed in safe mode.
UniValue JSONRPCError(int code, const std::string &message)
Standard JSON-RPC 2.0 errors.
No valid connection manager instance found.
RPCErrorCode
Fabcoin RPC error codes.
Still downloading initial blocks.
Error parsing or validating structure in raw format.