Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | public: | ||||
RPCExecuteCommandLine(interfaces::Node &node, std::string &strResult, | RPCExecuteCommandLine(interfaces::Node &node, std::string &strResult, | ||||
const std::string &strCommand, | const std::string &strCommand, | ||||
std::string *const pstrFilteredOut = nullptr, | std::string *const pstrFilteredOut = nullptr, | ||||
const WalletModel *wallet_model = nullptr) { | const WalletModel *wallet_model = nullptr) { | ||||
return RPCParseCommandLine(&node, strResult, strCommand, true, | return RPCParseCommandLine(&node, strResult, strCommand, true, | ||||
pstrFilteredOut, wallet_model); | pstrFilteredOut, wallet_model); | ||||
} | } | ||||
void setClientModel(ClientModel *model); | void setClientModel(ClientModel *model = nullptr, int bestblock_height = 0, | ||||
int64_t bestblock_date = 0, | |||||
double verification_progress = 0.0); | |||||
void addWallet(WalletModel *const walletModel); | void addWallet(WalletModel *const walletModel); | ||||
void removeWallet(WalletModel *const walletModel); | void removeWallet(WalletModel *const walletModel); | ||||
enum MessageClass { MC_ERROR, MC_DEBUG, CMD_REQUEST, CMD_REPLY, CMD_ERROR }; | enum MessageClass { MC_ERROR, MC_DEBUG, CMD_REQUEST, CMD_REPLY, CMD_ERROR }; | ||||
enum class TabTypes { INFO, CONSOLE, GRAPH, PEERS }; | enum class TabTypes { INFO, CONSOLE, GRAPH, PEERS }; | ||||
std::vector<TabTypes> tabs() const { | std::vector<TabTypes> tabs() const { | ||||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |