Page MenuHomePhabricator

[Chronik] Fix "Node and Chronik diverged" when both are fully synced
ClosedPublic

Authored by tobias_ruck on May 30 2023, 17:04.

Details

Summary

Currently the node logs "Node and Chronik diverged" at startup even when both are fully synced.

Now it doesn't log that, and doesn't rewind_indexer in this case.

Test Plan

ninja && ./test/functional/test_runner.py chronik_resync

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-fix-resync-log
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23836
Build 47282: Build Diffbuild-diff · build-without-wallet · build-debug · build-clang-tidy · build-chronik · build-clang
Build 47281: arc lint + arc unit