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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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