Page MenuHomePhabricator

[avalanche] Add a finalizetransaction RPC to force finalize a mempool transaction
ClosedPublic

Authored by Fabien on Oct 13 2025, 14:34.

Details

Summary

This is a risky RPC as it could lead to a different status than the network and a rejected block, but it can be used to include a transaction in a block after preconsensus is active.

Depends on D18791.

Test Plan
./test/functional/test_runner.py abc_rpc_finalizetransaction

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_finalize_transaction_rpc
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34764
Build 68990: Build Diffbuild-clang-tidy · build-without-wallet · build-debug · lint-circular-dependencies · build-clang · build-diff
Build 68989: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Oct 13 2025, 14:34
This revision is now accepted and ready to land.Oct 13 2025, 17:36

Rebase on D18791 and add a release note

PiRK added a subscriber: PiRK.
PiRK added inline comments.
src/rpc/avalanche.cpp
1884 ↗(On Diff #56164)
1896 ↗(On Diff #56164)