Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include "config/bitcoin-config.h" | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#include "rpcconsole.h" | #include <qt/rpcconsole.h> | ||||
#include "ui_debugwindow.h" | |||||
#include "qt/bantablemodel.h" | #include <chainparams.h> | ||||
#include "qt/clientmodel.h" | #include <config.h> | ||||
#include "qt/guiutil.h" | #include <interfaces/node.h> | ||||
#include "qt/platformstyle.h" | #include <netbase.h> | ||||
#include "qt/walletmodel.h" | #include <qt/bantablemodel.h> | ||||
#include <qt/clientmodel.h> | |||||
#include "chainparams.h" | #include <qt/forms/ui_debugwindow.h> | ||||
#include "config.h" | #include <qt/guiutil.h> | ||||
#include "interfaces/node.h" | #include <qt/platformstyle.h> | ||||
#include "netbase.h" | #include <qt/walletmodel.h> | ||||
#include "rpc/client.h" | #include <rpc/client.h> | ||||
#include "rpc/server.h" | #include <rpc/server.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include <univalue.h> | |||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
#include "wallet/wallet.h" | #include <wallet/wallet.h> | ||||
#include <db_cxx.h> | #include <db_cxx.h> | ||||
#endif | #endif | ||||
#include <QDesktopWidget> | #include <QDesktopWidget> | ||||
#include <QKeyEvent> | #include <QKeyEvent> | ||||
#include <QMenu> | #include <QMenu> | ||||
#include <QMessageBox> | #include <QMessageBox> | ||||
#include <QScrollBar> | #include <QScrollBar> | ||||
#include <QSettings> | #include <QSettings> | ||||
#include <QSignalMapper> | #include <QSignalMapper> | ||||
#include <QStringList> | #include <QStringList> | ||||
#include <QThread> | #include <QThread> | ||||
#include <QTime> | #include <QTime> | ||||
#include <QTimer> | #include <QTimer> | ||||
#include <univalue.h> | |||||
// TODO: add a scrollback limit, as there is currently none | // TODO: add a scrollback limit, as there is currently none | ||||
// TODO: make it possible to filter out categories (esp debug messages when | // TODO: make it possible to filter out categories (esp debug messages when | ||||
// implemented) | // implemented) | ||||
// TODO: receive errors and debug messages through ClientModel | // TODO: receive errors and debug messages through ClientModel | ||||
const int CONSOLE_HISTORY = 50; | const int CONSOLE_HISTORY = 50; | ||||
const int INITIAL_TRAFFIC_GRAPH_MINS = 30; | const int INITIAL_TRAFFIC_GRAPH_MINS = 30; | ||||
const QSize FONT_RANGE(4, 40); | const QSize FONT_RANGE(4, 40); | ||||
▲ Show 20 Lines • Show All 1,383 Lines • Show Last 20 Lines |