diff options
| author | Jonas Schnelli <[email protected]> | 2015-06-20 20:27:28 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-09-16 16:50:19 +0200 |
| commit | 5f421329508d6e86c410282c7de39d7e80b0b289 (patch) | |
| tree | 2e54998588ade08a3325a5eba91dd1c28d53735c /src/rpcnet.cpp | |
| parent | [Qt] add banlist table below peers table (diff) | |
| download | discoin-5f421329508d6e86c410282c7de39d7e80b0b289.tar.xz discoin-5f421329508d6e86c410282c7de39d7e80b0b289.zip | |
[Qt] add ui signal for banlist changes
Diffstat (limited to 'src/rpcnet.cpp')
| -rw-r--r-- | src/rpcnet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index 30d0ed627..482e2ac47 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -12,6 +12,7 @@ #include "protocol.h" #include "sync.h" #include "timedata.h" +#include "ui_interface.h" #include "util.h" #include "utilstrencodings.h" #include "version.h" @@ -531,6 +532,8 @@ UniValue setban(const UniValue& params, bool fHelp) } DumpBanlist(); //store banlist to disk + uiInterface.BannedListChanged(); + return NullUniValue; } @@ -577,6 +580,8 @@ UniValue clearbanned(const UniValue& params, bool fHelp) CNode::ClearBanned(); DumpBanlist(); //store banlist to disk + + uiInterface.BannedListChanged(); return NullUniValue; } |