HomePhabricator

[avalanche] Use block index instead of blockhash for adding contenders to the…

Description

[avalanche] Use block index instead of blockhash for adding contenders to the cache

Summary: This will facilitate adding block height to the cache per feedback in D16782. While the existing API is not cumbersome in practice, it is more error prone when writing tests.

Test Plan:

ninja check-avalanche

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

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

Details

Provenance
roqqitAuthored on Sep 19 2024, 23:50
roqqitPushed on Sep 20 2024, 16:57
Reviewer
Restricted Owners Package
Differential Revision
D16793: [avalanche] Use block index instead of blockhash for adding contenders to the cache
Parents
rABCe686b296e89b: [avalanche] Cleanup unneeded variable in contender cache test
Branches
Unknown
Tags
Unknown