diff options
author | John Newbery <john@johnnewbery.com> | 2019-11-05 14:00:30 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-04-23 12:54:03 -0400 |
commit | b8580cacc70764ba5a48e3defb864d75e6c28626 (patch) | |
tree | 82b9c1d89a6f4ff2366fc67e6fc9abdb133b24f4 /src/net.h | |
parent | 47b94a337e1aad0c347fdfecba999b963ab51006 (diff) |
[net processing] Move net processing consts to net_processing.cpp
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -45,16 +45,10 @@ static const bool DEFAULT_WHITELISTRELAY = true; /** Default for -whitelistforcerelay. */ static const bool DEFAULT_WHITELISTFORCERELAY = false; -/** Time between pings automatically sent out for latency probing and keepalive (in seconds). */ -static const int PING_INTERVAL = 2 * 60; /** Time after which to disconnect, after waiting for a ping response (or inactivity). */ static const int TIMEOUT_INTERVAL = 20 * 60; /** Run the feeler connection loop once every 2 minutes or 120 seconds. **/ static const int FEELER_INTERVAL = 120; -/** The maximum number of entries in an 'inv' protocol message */ -static const unsigned int MAX_INV_SZ = 50000; -/** The maximum number of entries in a locator */ -static const unsigned int MAX_LOCATOR_SZ = 101; /** The maximum number of new addresses to accumulate before announcing. */ static const unsigned int MAX_ADDR_TO_SEND = 1000; /** Maximum length of incoming protocol messages (no message over 4 MB is currently acceptable). */ |