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

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)