diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-05-10 09:35:36 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-12-05 11:03:59 -1000 |
commit | 7caba38568bf13ff898d58662fe7ed72d91ecce3 (patch) | |
tree | d26feb58a560258f54796b4fa5a36ddb451f56bd /src/validation.h | |
parent | 91eeaa03354bbb4ee79d6defaffaef2b32ecbe29 (diff) |
Add NODE_NETWORK_LIMITED flags and min block amount constants
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h index 254f3e0754..0d22a82ffc 100644 --- a/src/validation.h +++ b/src/validation.h @@ -203,6 +203,8 @@ extern bool fPruneMode; extern uint64_t nPruneTarget; /** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of chainActive.Tip() will not be pruned. */ static const unsigned int MIN_BLOCKS_TO_KEEP = 288; +/** Minimum blocks required to signal NODE_NETWORK_LIMITED */ +static const unsigned int NODE_NETWORK_LIMITED_MIN_BLOCKS = 288; static const signed int DEFAULT_CHECKBLOCKS = 6; static const unsigned int DEFAULT_CHECKLEVEL = 3; |