HomePhabricator

[Chronik] Add `get_block_ancestor` for `CBlockIndex::GetAncestor`

Description

[Chronik] Add get_block_ancestor for CBlockIndex::GetAncestor

Summary:
Allows us to get an ancestor of a &CBlockIndex in Rust.

Depends on D13288.

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/D13289

Details

Provenance
tobias_ruckAuthored on Mar 11 2023, 08:30
tobias_ruckPushed on Mar 13 2023, 11:45
Reviewer
Restricted Project
Differential Revision
D13289: [Chronik] Add `get_block_ancestor` for `CBlockIndex::GetAncestor`
Parents
rABC2977454f3be5: [Chronik] Add `ChronikBridge::lookup_block_index`
Branches
Unknown
Tags
Unknown