HomePhabricator

Use block policy state instead of parked state to determine if a policy was…

Description

Use block policy state instead of parked state to determine if a policy was violated

Summary:
Bubble the block policy state up through ConnectTip so the caller can more
robustly short circuit when a block policy fails (and not just assume that
a policy failed because a block was parked).

Depends on D13482

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: Fabien

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

Details

Provenance
sdulfariAuthored on Mar 27 2023, 20:59
sdulfariPushed on Apr 3 2023, 18:24
Reviewer
Restricted Project
Differential Revision
D13483: Use block policy state instead of parked state to determine if a policy was violated
Parents
rABC791bbfba4ea3: [ecashaddrjs] Support encoding outputScript to address
Branches
Unknown
Tags
Unknown