mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-10 14:48:46 +02:00
Merge bitcoin/bitcoin#29039: versionbits refactoring
e3014017batest: add IsActiveAfter tests for versionbits (Anthony Towns)60950f77c3versionbits: docstrings for BIP9Info (Anthony Towns)7565563bc7tests: refactor versionbits fuzz test (Anthony Towns)2e4e9b9608tests: refactor versionbits unit test (Anthony Towns)525c00f91bversionbits: Expose VersionBitsConditionChecker via impl header (Anthony Towns)e74a7049b4versionbits: Expose StateName function (Anthony Towns)d00d1ed52cversionbits: Split out internal details into impl header (Anthony Towns)37b9b67a39versionbits: Simplify VersionBitsCache API (Anthony Towns)1198e7d2fdversionbits: Move BIP9 status logic for getblocktemplate to versionbits (Anthony Towns)b1e967c3ecversionbits: Move getdeploymentinfo logic to versionbits (Anthony Towns)3bd32c2055versionbits: Move WarningBits logic from validation to versionbits (Anthony Towns)5da119e5d0versionbits: Change BIP9Stats to uint32_t types (Anthony Towns)a679040ec1consensus/params: Move version bits period/threshold to bip9 param (Anthony Towns)e9d617095dversionbits: Remove params from AbstractThresholdConditionChecker (Anthony Towns)9bc41f1b48versionbits: Use std::array instead of C-style arrays (Anthony Towns) Pull request description: Increases the encapsulation/modularity of the versionbits code, moving more of the logic into the versionbits module rather than having it scattered across validation and rpc code. Updates unit/fuzz tests to test the actual code used rather than just a close approximation of it. ACKs for top commit: achow101: ACKe3014017baTheCharlatan: Re-ACKe3014017badarosior: ACKe3014017baTree-SHA512: 2978db5038354b56fa1dd6aafd511099e9c16504d6a88daeac2ff2702c87bcf3e55a32e2f0a7697e3de76963b68b9d5ede7976ee007e45862fa306911194496d
This commit is contained in:
@@ -935,8 +935,6 @@ private:
|
||||
/** Most recent headers presync progress update, for rate-limiting. */
|
||||
MockableSteadyClock::time_point m_last_presync_update GUARDED_BY(GetMutex()){};
|
||||
|
||||
std::array<ThresholdConditionCache, VERSIONBITS_NUM_BITS> m_warningcache GUARDED_BY(::cs_main);
|
||||
|
||||
//! Return true if a chainstate is considered usable.
|
||||
//!
|
||||
//! This is false when a background validation chainstate has completed its
|
||||
|
||||
Reference in New Issue
Block a user