diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-04-10 15:00:23 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-04-12 13:42:02 -0400 |
commit | c851be4b25905977ca471c42435dc590fd2ff2f5 (patch) | |
tree | 092bcb15e4915288873978b6de18e83dfe01887d /src/net.h | |
parent | 471ed00fcd3b6feb2e37ad071c7ead78b4e2dad7 (diff) |
net: define NodeId as an int64_t
This should make occurances of NodeId wrapping essentially impossible for
real-world usage.
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 { |