HomePhabricator

[avalanche] Add height parameter to buildRandomProof

Description

[avalanche] Add height parameter to buildRandomProof

Summary:
As we move to an orphan pool implementation that only accepts proofs with
immature utxos, explicitly specifying proof height will be more common.
This patch makes it easy to do that for random proofs without requiring
the height to be explict in all tests.

Test Plan:

ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
sdulfariAuthored on Jun 23 2022, 21:37
sdulfariPushed on Jun 24 2022, 15:17
Reviewer
Restricted Project
Differential Revision
D11664: [avalanche] Add height parameter to buildRandomProof
Parents
rABC0a3e7327bde7: Install dependencies for Chronik: Rust and Corrosion
Branches
Unknown
Tags
Unknown