mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge #9484: Introduce assumevalid setting to skip validation presumed valid scripts.
7b5e3feAdd assumevalid testcase (John Newbery)e440ac7Introduce assumevalid setting to skip presumed valid scripts. (Gregory Maxwell)
This commit is contained in:
@@ -186,6 +186,9 @@ extern CAmount maxTxFee;
|
||||
extern int64_t nMaxTipAge;
|
||||
extern bool fEnableReplacement;
|
||||
|
||||
/** Block hash whose ancestors we will assume to have valid scripts without checking them. */
|
||||
extern uint256 hashAssumeValid;
|
||||
|
||||
/** Best header we've seen so far (used for getheaders queries' starting points). */
|
||||
extern CBlockIndex *pindexBestHeader;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user