mirror of
https://github.com/jwinterm/aeon.git
synced 2026-11-28 11:43:54 +01:00
Add IP blocking for misbehaving nodes (adapted from Boolberry)
This commit is contained in:
@@ -106,6 +106,11 @@
|
||||
#define P2P_STAT_TRUSTED_PUB_KEY ""
|
||||
#define P2P_DEFAULT_WHITELIST_CONNECTIONS_PERCENT 70
|
||||
|
||||
#define P2P_FAILED_ADDR_FORGET_SECONDS (60*60) //1 hour
|
||||
#define P2P_IP_BLOCKTIME (60*60*24) //24 hour
|
||||
#define P2P_IP_FAILS_BEFOR_BLOCK 10
|
||||
#define P2P_IDLE_CONNECTION_KILL_INTERVAL (5*60) //5 minutes
|
||||
|
||||
#define ALLOW_DEBUG_COMMANDS
|
||||
|
||||
#define CRYPTONOTE_NAME "aeon"
|
||||
|
||||
Reference in New Issue
Block a user