diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2017-05-07 14:10:19 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-11-02 13:08:43 -0400 |
commit | da4908c3a05659846dae81b8d0bd73a04f7ed7c9 (patch) | |
tree | c3c0269c5244bb2bffd2459417c9ef34cdb77f3c /src/validation.h | |
parent | 41088795dd9a1c90bb379b2d5237d88ae8889c90 (diff) | |
download | bitcoin-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.h | 3 |
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; |