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

Name

Description

wallet

The wallet that will broadcast and record the transaction.

txid

The txid of the original transaction being replaced.

mtx

The signed bump transaction to commit.

errors

Receives any errors encountered while committing.

bumped_txid

Receives the txid of the committed bump transaction.

Created with MrDocs