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 23491
Build 46601: Build Diffbuild-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang · build-chronik
Build 46600: arc lint + arc unit