From 7caba38568bf13ff898d58662fe7ed72d91ecce3 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Wed, 10 May 2017 09:35:36 +0200 Subject: Add NODE_NETWORK_LIMITED flags and min block amount constants --- src/validation.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/validation.h') 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; -- cgit v1.2.3