diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-11-24 23:04:36 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-11-24 23:04:51 +0200 |
commit | 4061a32082554f3b18429b85b35398469b061faa (patch) | |
tree | 45c6d2da44341a4192771a1e913fda77fb91cbc0 /src/cryptonote_config.h | |
parent | Merge pull request #500 (diff) | |
parent | hardfork: fix more major/minor issues (diff) | |
download | monero-4061a32082554f3b18429b85b35398469b061faa.tar.xz |
Merge pull request #501
d887c18 hardfork: fix more major/minor issues (moneromooo-monero)
3b47ca2 hardfork: fix rescan on load (moneromooo-monero)
4cea2b1 Add IP blocking for misbehaving nodes (adapted from Boolberry) (Javier Smooth)
9c64b12 quiet down p2p logging a bit (Javier Smooth)
53c75ab blockchain: log versions as numbers, not characters (moneromooo-monero)
edade8d hardfork: fix actual/voting confusion (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r-- | src/cryptonote_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index 6053387ac..33005660a 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -105,6 +105,11 @@ #define P2P_DEFAULT_HANDSHAKE_INVOKE_TIMEOUT 5000 //5 seconds #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_BEFORE_BLOCK 10 +#define P2P_IDLE_CONNECTION_KILL_INTERVAL (5*60) //5 minutes + #define ALLOW_DEBUG_COMMANDS #define CRYPTONOTE_NAME "bitmonero" |