X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fbitcoinrpc.h;h=6c707ea87fcf72712b38b112d19d852920642fbe;hp=ad64a845d1fee153066485289cf97e3fba4aadb4;hb=415da519893e8fef7a10007fc82934385addd03d;hpb=5a73a5bcab66ec1012ac88b4d61bdc1e0213286c diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index ad64a84..6c707ea 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -27,7 +27,7 @@ enum HTTPStatusCode HTTP_UNAUTHORIZED = 401, HTTP_FORBIDDEN = 403, HTTP_NOT_FOUND = 404, - HTTP_INTERNAL_SERVER_ERROR = 500, + HTTP_INTERNAL_SERVER_ERROR = 500 }; // Bitcoin RPC error codes @@ -63,7 +63,7 @@ enum RPCErrorCode RPC_WALLET_PASSPHRASE_INCORRECT = -14, // The wallet passphrase entered was incorrect RPC_WALLET_WRONG_ENC_STATE = -15, // Command given in wrong wallet encryption state (encrypting an encrypted wallet etc.) RPC_WALLET_ENCRYPTION_FAILED = -16, // Failed to encrypt the wallet - RPC_WALLET_ALREADY_UNLOCKED = -17, // Wallet is already unlocked + RPC_WALLET_ALREADY_UNLOCKED = -17 // Wallet is already unlocked }; json_spirit::Object JSONRPCError(int code, const std::string& message); @@ -203,9 +203,21 @@ extern json_spirit::Value getinfo(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value reservebalance(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value checkwallet(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value repairwallet(const json_spirit::Array& params, bool fHelp); -extern json_spirit::Value resendtx(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value resendwallettransactions(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value makekeypair(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value mergecoins(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value newmalleablekey(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value adjustmalleablekey(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value adjustmalleablepubkey(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value listmalleableviews(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value dumpmalleablekey(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value importmalleablekey(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value dumppem(const json_spirit::Array& params, bool fHelp); + +extern json_spirit::Value encryptdata(const json_spirit::Array& params, bool fHelp); // in rpccrypt.cpp +extern json_spirit::Value decryptdata(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value encryptmessage(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value decryptmessage(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getrawtransaction(const json_spirit::Array& params, bool fHelp); // in rcprawtransaction.cpp extern json_spirit::Value listunspent(const json_spirit::Array& params, bool fHelp);