diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-04-13 16:30:38 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-04-13 16:35:27 +0200 |
commit | cf8a8b1028d683871a6267efc5be860d07a181a3 (patch) | |
tree | 0e9e9c1b0b6620ea9f5b142b04cf32e86c5d71db /src/net.h | |
parent | 70f6f56e9dde0d0eb1a51e70c051b8fa3ba9535f (diff) | |
parent | c851be4b25905977ca471c42435dc590fd2ff2f5 (diff) |
Merge #10176: net: gracefully handle NodeId wrapping
c851be4 net: define NodeId as an int64_t (Cory Fields)
Tree-SHA512: 2ccc931cfcdc555313b9434d8de2f6cea759b31891212ca62f962208f60157d4fc593010e3ca61265d1a20d6f78c6ca79103600b85df77983d5509d192875b96
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ static const ServiceFlags REQUIRED_SERVICES = NODE_NETWORK; // NOTE: When adjusting this, update rpcnet:setban's help ("24h") static const unsigned int DEFAULT_MISBEHAVING_BANTIME = 60 * 60 * 24; // Default 24-hour ban -typedef int NodeId; +typedef int64_t NodeId; struct AddedNodeInfo { |