Page MenuHomePhabricator

[Chronik] Add `ChronikBridge::find_fork`, for `CChain::FindFork`
ClosedPublic

Authored by tobias_ruck on Mar 11 2023, 09:10.

Details

Summary

Walks back the chain until it finds a common ancestor.

Depends on D13289.

Test Plan

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-find-fork
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22358
Build 44342: Build Diffbuild-chronik
Build 44341: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 11 2023, 09:34

rebase on chronik-get-ancestor

Move find_fork test after test_lookup_block_index