diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-07-02 21:12:44 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-07-02 21:33:09 +0200 |
| commit | 66e546577315750ea36eeb26d96842cb768b4315 (patch) | |
| tree | 27ca8e971b7f86ba7f8bd99cdd3b44b69d2c470e /src/main.cpp | |
| parent | tests: fix txn_clone.py (diff) | |
| parent | Adding CSubNet constructor over a single CNetAddr (diff) | |
| download | discoin-66e546577315750ea36eeb26d96842cb768b4315.tar.xz discoin-66e546577315750ea36eeb26d96842cb768b4315.zip | |
Merge pull request #6310
177a0e4 Adding CSubNet constructor over a single CNetAddr (Jonas Schnelli)
409bccf use CBanEntry as object container for banned nodes (Jonas Schnelli)
dfa174c CAddrDB/CBanDB: change filesize variables from int to uint64_t (Jonas Schnelli)
f581d3d banlist.dat: store banlist on disk (Jonas Schnelli)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6c4cfe75a..a000a81fd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4959,7 +4959,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle) LogPrintf("Warning: not banning local peer %s!\n", pto->addr.ToString()); else { - CNode::Ban(pto->addr); + CNode::Ban(pto->addr, BanReasonNodeMisbehaving); } } state.fShouldBan = false; |