HomePhabricator

Reject blocks that violate the real time target policy

Description

Reject blocks that violate the real time target policy

Summary:
This diff adds a new policy to reject blocks whose hash is higher than the real time target.
The policy is gated behind a flag and disabled by default, as the node still lacks support for mining compliant blocks.

Depends on D16773.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK, roqqit

Reviewed By: #bitcoin_abc, PiRK, roqqit

Subscribers: bytesofman, roqqit

Differential Revision: https://reviews.bitcoinabc.org/D16729

Details

Provenance
FabienAuthored on Sep 6 2024, 13:44
FabienPushed on Sep 17 2024, 20:34
Reviewer
Restricted Project
Differential Revision
D16729: Reject blocks that violate the real time target policy
Parents
rABCc40a40c05424: Compute the real-time hash target for the next block
Branches
Unknown
Tags
Unknown