X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbitcoinrpc.h;h=ba7c0fba48264bda7c4405fa1ce21bc87aa7c35c;hb=510a23a2c838245cd4681ed0b4fbce48e8ebf506;hp=6c707ea87fcf72712b38b112d19d852920642fbe;hpb=27e35b80c7f1b1bbf43f1d7b719a2569e8149f9f;p=novacoin.git diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index 6c707ea..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;