Page MenuHomePhabricator

[Chronik] Send `TX_FINALIZED` msg for txs that are in a block that have been finalized by Avalanche
ClosedPublic

Authored by tobias_ruck on Apr 26 2023, 15:46.

Details

Summary

These are sent out for all txs in a block after Avalanche finalized a block.

Unlike handle_block_connected and handle_block_disconnected, we don't get the txs in handle_block_finalized, therefore we have to load them from disk.

Test Plan

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-ws-script-avalanche
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23488
Build 46595: Build Diffbuild-clang · build-diff · build-clang-tidy · build-without-wallet · build-debug · build-chronik
Build 46594: arc lint + arc unit