aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2017-05-07 14:10:19 -0400
committerMarcoFalke <falke.marco@gmail.com>2017-11-02 13:08:43 -0400
commitda4908c3a05659846dae81b8d0bd73a04f7ed7c9 (patch)
treec3c0269c5244bb2bffd2459417c9ef34cdb77f3c /src/validation.h
parent41088795dd9a1c90bb379b2d5237d88ae8889c90 (diff)
downloadbitcoin-da4908c3a05659846dae81b8d0bd73a04f7ed7c9.tar.xz
Allow setting nMinimumChainWork on command line
Github-Pull: #10357 Rebased-From: 0311836f6927aec4ba5687ea12af35df3c509682
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index edb8eab894..f3d88d3180 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -186,6 +186,9 @@ extern bool fEnableReplacement;
/** Block hash whose ancestors we will assume to have valid scripts without checking them. */
extern uint256 hashAssumeValid;
+/** Minimum work we will assume exists on some valid chain. */
+extern arith_uint256 nMinimumChainWork;
+
/** Best header we've seen so far (used for getheaders queries' starting points). */
extern CBlockIndex *pindexBestHeader;