HomePhabricator

[Chronik] Add `get_block_info`

Description

[Chronik] Add get_block_info

Summary:
Return some relevant info from a CBlockIndex (hash, height).

Depends on D13291.

Test Plan: ninja test_bitcoin && ./src/test/test_bitcoin -t chronikbridge_tests

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Mar 11 2023, 12:53
tobias_ruckPushed on Mar 13 2023, 11:47
Reviewer
Restricted Project
Differential Revision
D13292: [Chronik] Add `get_block_info`
Parents
rABCca61d42e085f: [Chronik] Make `ChronikBridge::get_chain_tip` return `CBlockIndex`
Branches
Unknown
Tags
Unknown