|
| static feebumper::Result | wallet::PreconditionChecks (const CWallet &wallet, const CWalletTx &wtx, bool require_mine, 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.
|
| |
| static feebumper::Result | wallet::CheckFeeRate (const CWallet &wallet, const CMutableTransaction &mtx, const CFeeRate &newFeerate, const int64_t maxTxSize, CAmount old_fee, std::vector< bilingual_str > &errors) |
| | Check if the user provided a valid feeRate.
|
| |
| 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 Txid &txid) |
| | Return whether transaction can be bumped.
|
| |
| Result | wallet::feebumper::CreateRateBumpTransaction (CWallet &wallet, const Txid &txid, const CCoinControl &coin_control, std::vector< bilingual_str > &errors, CAmount &old_fee, CAmount &new_fee, CMutableTransaction &mtx, bool require_mine, const std::vector< CTxOut > &outputs, std::optional< uint32_t > original_change_index=std::nullopt) |
| | Create bumpfee transaction based on feerate estimates.
|
| |
| bool | wallet::feebumper::SignTransaction (CWallet &wallet, CMutableTransaction &mtx) |
| | Sign the new transaction,.
|
| |
| Result | wallet::feebumper::CommitTransaction (CWallet &wallet, const Txid &txid, CMutableTransaction &&mtx, std::vector< bilingual_str > &errors, Txid &bumped_txid) |
| | Commit the bumpfee transaction.
|
| |