Bitcoin Core  22.99.0
P2P Digital Currency
Namespaces | Functions
feebumper.cpp File Reference
#include <interfaces/chain.h>
#include <policy/fees.h>
#include <policy/policy.h>
#include <util/moneystr.h>
#include <util/rbf.h>
#include <util/system.h>
#include <util/translation.h>
#include <wallet/coincontrol.h>
#include <wallet/feebumper.h>
#include <wallet/fees.h>
#include <wallet/receive.h>
#include <wallet/spend.h>
#include <wallet/wallet.h>
Include dependency graph for feebumper.cpp:

Go to the source code of this file.

Namespaces

 wallet
 
 wallet::feebumper
 

Functions

static feebumper::Result wallet::PreconditionChecks (const CWallet &wallet, const CWalletTx &wtx, std::vector< bilingual_str > &errors) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
 Check whether transaction has descendant in wallet or mempool, or has been mined, or conflicts with a mined transaction. More...
 
static feebumper::Result wallet::CheckFeeRate (const CWallet &wallet, const CWalletTx &wtx, const CFeeRate &newFeerate, const int64_t maxTxSize, std::vector< bilingual_str > &errors)
 Check if the user provided a valid feeRate. More...
 
static CFeeRate wallet::EstimateFeeRate (const CWallet &wallet, const CWalletTx &wtx, const CAmount old_fee, const CCoinControl &coin_control)
 
bool wallet::feebumper::TransactionCanBeBumped (const CWallet &wallet, const uint256 &txid)
 Return whether transaction can be bumped. More...
 
Result wallet::feebumper::CreateRateBumpTransaction (CWallet &wallet, const uint256 &txid, const CCoinControl &coin_control, std::vector< bilingual_str > &errors, CAmount &old_fee, CAmount &new_fee, CMutableTransaction &mtx)
 Create bumpfee transaction based on feerate estimates. More...
 
bool wallet::feebumper::SignTransaction (CWallet &wallet, CMutableTransaction &mtx)
 Sign the new transaction,. More...
 
Result wallet::feebumper::CommitTransaction (CWallet &wallet, const uint256 &txid, CMutableTransaction &&mtx, std::vector< bilingual_str > &errors, uint256 &bumped_txid)
 Commit the bumpfee transaction. More...