HomePhabricator

[avalanche] Introduce the StakeCommitment class

Description

[avalanche] Introduce the StakeCommitment class

Summary:
This makes the stake commitment strongly typed, in preparation for moving away from proof id. There is currently no change in behavior.

Ref T1676.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Maniphest Tasks: T1676

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

Details

Provenance
FabienAuthored on Sep 22 2021, 08:59
FabienPushed on Sep 28 2021, 19:02
Reviewer
Restricted Project
Differential Revision
D10179: [avalanche] Introduce the StakeCommitment class
Parents
rABC5bc1e2c854ba: Do not pass chain params to CheckForStaleTipAndEvictPeers twice
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task