Allow setting nMinimumChainWork on command line

This commit is contained in:
Suhas Daftuar
2017-05-07 14:10:19 -04:00
committed by Suhas Daftuar
parent e0e3cbbf08
commit 0311836f69
7 changed files with 68 additions and 5 deletions

View File

@@ -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;