HomePhabricator

[Chronik] Refactor: Add `HashOrHeight` enum

Description

[Chronik] Refactor: Add HashOrHeight enum

Summary: Factors out the parsing of a string that's either a hash or height, so we can use it elsewhere.

Test Plan: ninja check-functional

Reviewers: Fabien, #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
tobias_ruckAuthored on May 3 2023, 22:32
tobias_ruckPushed on May 5 2023, 06:51
Reviewer
Restricted Project
Differential Revision
D13857: [Chronik] Refactor: Add `HashOrHeight` enum
Parents
rABC65f017b1fab4: [e.cash] Add H2 component
Branches
Unknown
Tags
Unknown