Page MenuHomePhabricator

[backport#15713] Add BroadcastTransaction utility usage in Chain interface

Authored by majcosta on May 28 2020, 01:05.



Access through a broadcastTransaction method.
Add a wait_callback flag to turn off race protection when wallet
already track its tx being in mempool

Standardise highfee, absurdfee variable name to max_tx_fee

We drop the P2P check in BroadcastTransaction as g_connman is only
called by RPCs and the wallet scheduler, both of which are initialized
after g_connman is assigned and stopped before g_connman is reset.

Depends on D6272

Partial backport of Core PR15713

Test Plan
ninja check-all

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

majcosta created this revision.May 28 2020, 01:05
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 28 2020, 01:05
majcosta requested review of this revision.May 28 2020, 01:05
teamcity edited the summary of this revision. (Show Details)May 28 2020, 01:05

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

Fabien accepted this revision.May 28 2020, 08:34
This revision is now accepted and ready to land.May 28 2020, 08:34