Page MenuHomePhabricator

[Chronik] Make `ChronikBridge::get_chain_tip` return `CBlockIndex`
ClosedPublic

Authored by tobias_ruck on Mar 11 2023, 12:51.

Details

Summary

Combined with get_block_info, we can get the same data, but this way, we can get BlockInfo of any CBlockIndex.

Depends on D13290.

Test Plan

ninja test_bitcoin && ./src/test/test_bitcoin -t chronikbridge_tests

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-cblockindex-get_chain_tip
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22359
Build 44344: Build Diffbuild-chronik
Build 44343: arc lint + arc unit