![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "rpcconsole.h"
#include "ui_debugwindow.h"
#include "bantablemodel.h"
#include "clientmodel.h"
#include "guiutil.h"
#include "platformstyle.h"
#include "chainparams.h"
#include "netbase.h"
#include "rpc/server.h"
#include "rpc/client.h"
#include "util.h"
#include <openssl/crypto.h>
#include <univalue.h>
#include <QDir>
#include <QKeyEvent>
#include <QMenu>
#include <QScrollBar>
#include <QSettings>
#include <QSignalMapper>
#include <QThread>
#include <QTime>
#include <QTimer>
#include <QStringList>
#include <QUrl>
#include "rpcconsole.moc"
Go to the source code of this file.
Classes | |
class | RPCExecutor |
class | QtRPCTimerBase |
class | QtRPCTimerInterface |
Functions | |
const QSize | FONT_RANGE (4, 40) |
const QString | SALVAGEWALLET ("-salvagewallet") |
const QString | RESCAN ("-rescan") |
const QString | ZAPTXES1 ("-zapwallettxes=1") |
const QString | ZAPTXES2 ("-zapwallettxes=2") |
const QString | UPGRADEWALLET ("-upgradewallet") |
const QString | REINDEX ("-reindex") |
bool | parseCommandLine (std::vector< std::string > &args, const std::string &strCommand) |
static QString | categoryClass (int category) |
Variables | |
const int | CONSOLE_HISTORY = 50 |
const char | fontSizeSettingsKey [] = "consoleFontSize" |
const TrafficGraphData::GraphRange | INITIAL_TRAFFIC_GRAPH_SETTING = TrafficGraphData::Range_30m |
struct { | |
const char * url | |
const char * source | |
} | ICON_MAPPING [] |
|
static |
Definition at line 502 of file rpcconsole.cpp.
Referenced by RPCConsole::message().
const QSize FONT_RANGE | ( | 4 | , |
40 | |||
) |
Referenced by RPCConsole::setFontSize().
bool parseCommandLine | ( | std::vector< std::string > & | args, |
const std::string & | strCommand | ||
) |
Split shell command line into a list of arguments. Aims to emulate bash
and friends.
\
is used as escape character" and backslashes before a \c "
or another backslash[out] | args | Parsed arguments will be appended to this list |
[in] | strCommand | Command line to split |
Definition at line 135 of file rpcconsole.cpp.
Referenced by RPCExecutor::request().
const QString REINDEX | ( | "-reindex" | ) |
Referenced by RPCConsole::buildParameterlist(), and RPCConsole::walletReindex().
const QString RESCAN | ( | "-rescan" | ) |
Referenced by RPCConsole::buildParameterlist(), and RPCConsole::walletRescan().
const QString SALVAGEWALLET | ( | "-salvagewallet" | ) |
Referenced by RPCConsole::buildParameterlist(), and RPCConsole::walletSalvage().
const QString UPGRADEWALLET | ( | "-upgradewallet" | ) |
Referenced by RPCConsole::buildParameterlist(), and RPCConsole::walletUpgrade().
const QString ZAPTXES1 | ( | ) |
Referenced by RPCConsole::buildParameterlist(), and RPCConsole::walletZaptxes1().
const QString ZAPTXES2 | ( | ) |
Referenced by RPCConsole::buildParameterlist(), and RPCConsole::walletZaptxes2().
const int CONSOLE_HISTORY = 50 |
Definition at line 47 of file rpcconsole.cpp.
Referenced by RPCConsole::on_lineEdit_returnPressed().
const char fontSizeSettingsKey[] = "consoleFontSize" |
Definition at line 49 of file rpcconsole.cpp.
Referenced by RPCConsole::RPCConsole(), and RPCConsole::setFontSize().
const { ... } ICON_MAPPING[] |
Referenced by RPCConsole::clear().
const TrafficGraphData::GraphRange INITIAL_TRAFFIC_GRAPH_SETTING = TrafficGraphData::Range_30m |
Definition at line 51 of file rpcconsole.cpp.
Referenced by RPCConsole::RPCConsole().
const char* source |
Definition at line 63 of file rpcconsole.cpp.
Referenced by CAddrMan::Add(), CAddrMan::Add_(), AppInit2(), payments::Output::MergeFrom(), payments::PaymentDetails::MergeFrom(), payments::PaymentRequest::MergeFrom(), payments::X509Certificates::MergeFrom(), payments::Payment::MergeFrom(), and payments::PaymentACK::MergeFrom().
const char* url |
Definition at line 62 of file rpcconsole.cpp.
Referenced by RPCConsole::clear(), PaymentServer::fetchRequest(), and TransactionView::openThirdPartyTxUrl().