diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-09 09:18:05 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-09 09:19:15 +0200 |
commit | d4168c82bef0d86fd254a9d993906a09f5fd7fc0 (patch) | |
tree | ebcbbf5dc4117af40c5c52fd74526865d093754c /src/net.h | |
parent | 8bc0a0173e885a5b60e12d3769604236967c262e (diff) |
Limit CNode::mapAskFor
Tighten resource constraints on CNode.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ static const bool DEFAULT_UPNP = USE_UPNP; #else static const bool DEFAULT_UPNP = false; #endif +/** The maximum number of entries in mapAskFor */ +static const size_t MAPASKFOR_MAX_SZ = MAX_INV_SZ; unsigned int ReceiveFloodSize(); unsigned int SendBufferSize(); |