HomePhabricator

[avalanche] Deterministically select a payout script from the previous block…

Description

[avalanche] Deterministically select a payout script from the previous block hash

Summary: This picks a proof payout script deterministically, after some filtering to ensure a consistent state accross the nodes. This also includes a range selection around the winner to allow for some slack in the selection algorithm.

Test Plan:

ninja check-avalanche

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

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

Details

Provenance
FabienAuthored on Aug 25 2023, 16:15
FabienPushed on Aug 30 2023, 07:56
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABC3416218d68a6: [Chronik] Use Rust `compress_script_variant` to speed up indexing
Branches
Unknown
Tags
Unknown