diff options
author | tryphe <tryphe@noreply.github.com> | 2019-05-08 04:34:01 -0400 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-05-12 17:30:33 +0800 |
commit | 25d8264c95eaf98a66df32addb0bf32d795a35bd (patch) | |
tree | 945621410409d240770f89e60e68179e0716b5f2 /src/net.h | |
parent | ad1b7b18177afb2a2d919cef5442e7c35fd7fe1e (diff) | |
download | bitcoin-25d8264c95eaf98a66df32addb0bf32d795a35bd.tar.xz |
p2p: add MAX_FEELER_CONNECTIONS constant
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -62,6 +62,8 @@ static const int MAX_OUTBOUND_FULL_RELAY_CONNECTIONS = 8; static const int MAX_ADDNODE_CONNECTIONS = 8; /** Maximum number of block-relay-only outgoing connections */ static const int MAX_BLOCKS_ONLY_CONNECTIONS = 2; +/** Maximum number of feeler connections */ +static const int MAX_FEELER_CONNECTIONS = 1; /** -listen default */ static const bool DEFAULT_LISTEN = true; /** -upnp default */ |