diff options
| author | Luv Khemani <[email protected]> | 2016-02-27 11:57:12 +0800 |
|---|---|---|
| committer | Luv Khemani <[email protected]> | 2016-03-12 13:04:23 +0800 |
| commit | ce7413fcb7d28bd72e5ade7dc9756504de766fc2 (patch) | |
| tree | 0b5fe6bab7c5914b2efc729d86e0a458822c169d /src/rpc/server.h | |
| parent | Merge #7635: [Documentation] Add dependency info to test docs (diff) | |
| download | discoin-ce7413fcb7d28bd72e5ade7dc9756504de766fc2.tar.xz discoin-ce7413fcb7d28bd72e5ade7dc9756504de766fc2.zip | |
Add autocomplete to bitcoin-qt's console window.
Removed externs
Added listCommands() to CRPCTable
Move autocomplete init to RPCConsole::setClientModel()
Diffstat (limited to 'src/rpc/server.h')
| -rw-r--r-- | src/rpc/server.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index 99ffad5d4..3f46841c4 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -145,6 +145,12 @@ public: */ UniValue execute(const std::string &method, const UniValue ¶ms) const; + /** + * Returns a list of registered commands + * @returns List of registered commands. + */ + std::vector<std::string> listCommands() const; + /** * Appends a CRPCCommand to the dispatch table. |