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
teamcityPushed on Sep 20 2024, 16:59
Parents
rSTAGINGe686b296e89b: [avalanche] Cleanup unneeded variable in contender cache test
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/49766

Event Timeline