X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbitcoinrpc.h;h=d304686b931f9e022d9022ebc74bd61168580424;hb=b92e09336df23b27305ac58c85553074bd23124f;hp=a5888a97cde51376760aab833c67ecfca21b4f7b;hpb=2cc26e03c8f4ff86e33a2d037c5cd52b6112c7c1;p=novacoin.git diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index a5888a9..d304686 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -119,6 +119,11 @@ 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;