diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-06 16:09:04 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-21 12:49:53 -0400 |
commit | 15f3ad4dbdf0d245b936e68c51a7ecb9f472d2cd (patch) | |
tree | 7e06d23ee6fd40fa6a60edb698350e8a96df49d9 /src/init.cpp | |
parent | 54d02f158d79b078ed9afdca5e37241101b040cd (diff) |
Framework for banning mis-behaving peers
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index dbc2c41332..158418d7b7 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -179,6 +179,8 @@ bool AppInit2(int argc, char* argv[]) " -addnode=<ip> \t " + _("Add a node to connect to\n") + " -connect=<ip> \t\t " + _("Connect only to the specified node\n") + " -nolisten \t " + _("Don't accept connections from outside\n") + + " -banscore=<n> \t " + _("Threshold for disconnecting misbehaving peers (default: 100)\n") + + " -bantime=<n> \t " + _("Number of seconds to keep misbehaving peers from reconnecting (default: 86400)\n") + #ifdef USE_UPNP #if USE_UPNP " -noupnp \t " + _("Don't attempt to use UPnP to map the listening port\n") + |