aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2017-05-07 14:10:19 -0400
committerSuhas Daftuar <sdaftuar@chaincode.com>2017-09-05 15:05:28 -0400
commit0311836f6927aec4ba5687ea12af35df3c509682 (patch)
tree5d1b35310828f7299e039476a52146140f6bb0fc /src/validation.h
parente0e3cbbf081b74ed5322176dcda081c64076fd21 (diff)
downloadbitcoin-0311836f6927aec4ba5687ea12af35df3c509682.tar.xz
Allow setting nMinimumChainWork on command line
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 d0f6cdc135..214d29173c 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;