HomePhabricator

[Chronik] Add `Hashed::digest` + implementations

Description

[Chronik] Add Hashed::digest + implementations

Summary:
Currently, the different implementations of Hashed are just shells of the hash but don't actually represent the given hash.

By adding digest to Hashed + implementations, we can actually compute the hashes.

Test Plan: ninja check-crates

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on May 27 2023, 17:11
tobias_ruckPushed on May 27 2023, 20:44
Reviewer
Restricted Project
Differential Revision
D13946: [Chronik] Add `Hashed::digest` + implementations
Parents
rABCdd69c97ca0ba: [Chronik] Stop re-sync if `ShutdownRequested` is true
Branches
Unknown
Tags
Unknown