#include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "bantablemodel.h"
#include "clientmodel.h"
#include "guiutil.h"
#include "peertablemodel.h"
#include "chainparams.h"
#include "netbase.h"
#include "rpc/client.h"
#include "rpc/server.h"
#include "util.h"
#include <univalue.h>
#include <openssl/crypto.h>
#include <QDir>
#include <QKeyEvent>
#include <QMenu>
#include <QScrollBar>
#include <QSignalMapper>
#include <QThread>
#include <QTime>
#include <QTimer>
#include <QStringList>
#include "rpcconsole.moc"
Go to the source code of this file.
◆ ICON_SIZE()
| const QSize ICON_SIZE |
( |
24 |
, |
|
|
24 |
|
|
) |
| |
◆ parseCommandLine()
| 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.
- Arguments are delimited with whitespace
- Extra whitespace at the beginning and end and between arguments will be ignored
- Text can be "double" or 'single' quoted
- The backslash
\ is used as escape character
- Outside quotes, any character can be escaped
- Within double quotes, only escape
" and backslashes before a \c " or another backslash
- Within single quotes, no escaping is possible and no special interpretation takes place
- Parameters
-
| [out] | args | Parsed arguments will be appended to this list |
| [in] | strCommand | Command line to split |
Definition at line 133 of file rpcconsole.cpp.
◆ REINDEX()
| const QString REINDEX |
( |
"-reindex" |
| ) |
|
◆ RESCAN()
| const QString RESCAN |
( |
"-rescan" |
| ) |
|
◆ RESYNC()
| const QString RESYNC |
( |
"-resync" |
| ) |
|
◆ SALVAGEWALLET()
| const QString SALVAGEWALLET |
( |
"-salvagewallet" |
| ) |
|
◆ UPGRADEWALLET()
| const QString UPGRADEWALLET |
( |
"-upgradewallet" |
| ) |
|
◆ ZAPTXES1()
| const QString ZAPTXES1 |
( |
| ) |
|
◆ ZAPTXES2()
| const QString ZAPTXES2 |
( |
| ) |
|
◆ CONSOLE_HISTORY
| const int CONSOLE_HISTORY = 50 |
- Todo:
: add a scrollback limit, as there is currently none
: make it possible to filter out categories (esp debug messages when implemented)
: receive errors and debug messages through ClientModel
Definition at line 46 of file rpcconsole.cpp.
◆ ICON_MAPPING
| const { ... } ICON_MAPPING[] |
Initial value:= {
{"cmd-request", ":/icons/tx_input"},
{"cmd-reply", ":/icons/tx_output"},
{"cmd-error", ":/icons/tx_output"},
{"misc", ":/icons/tx_inout"},
{NULL, NULL}}
◆ INITIAL_TRAFFIC_GRAPH_MINS
| const int INITIAL_TRAFFIC_GRAPH_MINS = 30 |
◆ source
◆ url