HomePhabricator

Introduce facility to evaluate miner fund as a block parking policy

Description

Introduce facility to evaluate miner fund as a block parking policy

Summary:
This patch introduces MinerFundPolicy as a type of ParkingPolicy. These
policies can be called for a given block to determine if they pass various
checks. If not, the block can be parked and Avalanche voting will determine
its fate.

Unit tests are provided. Integration into validation code will come in a later
patch.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
sdulfariAuthored on Feb 14 2023, 22:33
sdulfariPushed on Feb 21 2023, 16:30
Reviewer
Restricted Project
Differential Revision
D13129: Introduce facility to evaluate miner fund as a block parking policy
Parents
rABC38a461f1bd4a: mempool & mining: Use the topological ordering to break ties
Branches
Unknown
Tags
Unknown