aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-06-19 13:24:34 +0200
committerJonas Schnelli <jonas.schnelli@include7.ch>2015-09-16 16:50:19 +0200
commit50f090884ccd29e439720aeb83fcd293fae34921 (patch)
tree578f740e33d6c6b4dfdcb761661f167dd08583e5 /src/qt/rpcconsole.h
parent0143a1f228c3447ae2e025c697b0ad53a0d8d306 (diff)
downloadbitcoin-50f090884ccd29e439720aeb83fcd293fae34921.tar.xz
[Qt] add ban functions to peers window
add ban option for peer context menu (1h, 24h, 7d, 1y).
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r--src/qt/rpcconsole.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h
index 1409fca525..3218a635d7 100644
--- a/src/qt/rpcconsole.h
+++ b/src/qt/rpcconsole.h
@@ -80,6 +80,8 @@ public Q_SLOTS:
void peerLayoutChanged();
/** Disconnect a selected node on the Peers tab */
void disconnectSelectedNode();
+ /** Ban a selected node on the Peers tab */
+ void banSelectedNode(int bantime);
Q_SIGNALS:
// For RPC command executor