Add autocomplete to bitcoin-qt's console window.

Removed externs
Added listCommands() to CRPCTable

Move autocomplete init to RPCConsole::setClientModel()
This commit is contained in:
Luv Khemani
2016-02-27 11:57:12 +08:00
parent 0fa88ef784
commit ce7413fcb7
4 changed files with 33 additions and 1 deletions

View File

@@ -145,6 +145,12 @@ public:
*/
UniValue execute(const std::string &method, const UniValue &params) 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.