wallet::feebumper::CommitTransaction

Commit the bumpfee transaction.

Synopsis

Declared in <wallet/feebumper.h>

Result
CommitTransaction(
    CWallet& wallet,
    Txid const& txid,
    CMutableTransaction&& mtx,
    std::vector<bilingual_str>& errors,
    Txid& bumped_txid);

Return Value

success in case of CWallet::CommitTransaction was successful, but sets errors if the tx could not be added to the mempool (will try later) or if the old transaction could not be marked as replaced.

Parameters

NameDescription
walletThe wallet that will broadcast and record the transaction.
txidThe txid of the original transaction being replaced.
mtxThe signed bump transaction to commit.
errorsReceives any errors encountered while committing.
bumped_txidReceives the txid of the committed bump transaction.