X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbitcoinrpc.h;h=ba7c0fba48264bda7c4405fa1ce21bc87aa7c35c;hb=fc1b804200aaee8945d6607361f210baf158c967;hp=5befb76534d0525ff40d1638689c0b36b483db79;hpb=fbd44e84d5841867d36d295d4f347fd5e55d293f;p=novacoin.git diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index 5befb76..ba7c0fb 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -119,6 +119,12 @@ public: * @throws an exception (json_spirit::Value) when an error happens. */ json_spirit::Value execute(const std::string &method, const json_spirit::Array ¶ms) const; + + /** + * Returns a list of registered commands + * @returns List of registered commands. + */ + std::vector listCommands() const; }; extern const CRPCTable tableRPC; @@ -203,7 +209,7 @@ 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); @@ -212,6 +218,7 @@ extern json_spirit::Value adjustmalleablepubkey(const json_spirit::Array& params 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);