Bitcoin
|
Enumerations | |
enum | Result { Result::OK, Result::INVALID_ADDRESS_OR_KEY, Result::INVALID_REQUEST, Result::INVALID_PARAMETER, Result::WALLET_ERROR, Result::MISC_ERROR } |
Functions | |
bool | TransactionCanBeBumped (const CWallet *wallet, const uint256 &txid) |
Return whether transaction can be bumped. More... | |
Result | CreateTotalBumpTransaction (const CWallet *wallet, const uint256 &txid, const CCoinControl &coin_control, CAmount total_fee, std::vector< std::string > &errors, CAmount &old_fee, CAmount &new_fee, CMutableTransaction &mtx) |
Create bumpfee transaction based on total amount. More... | |
Result | CreateRateBumpTransaction (CWallet *wallet, const uint256 &txid, const CCoinControl &coin_control, std::vector< std::string > &errors, CAmount &old_fee, CAmount &new_fee, CMutableTransaction &mtx) |
Create bumpfee transaction based on feerate estimates. More... | |
bool | SignTransaction (CWallet *wallet, CMutableTransaction &mtx) |
Result | CommitTransaction (CWallet *wallet, const uint256 &txid, CMutableTransaction &&mtx, std::vector< std::string > &errors, uint256 &bumped_txid) |
|
strong |
Result feebumper::CommitTransaction | ( | CWallet * | wallet, |
const uint256 & | txid, | ||
CMutableTransaction && | mtx, | ||
std::vector< std::string > & | errors, | ||
uint256 & | bumped_txid | ||
) |
Commit the bumpfee transaction.
Result feebumper::CreateRateBumpTransaction | ( | CWallet * | wallet, |
const uint256 & | txid, | ||
const CCoinControl & | coin_control, | ||
std::vector< std::string > & | errors, | ||
CAmount & | old_fee, | ||
CAmount & | new_fee, | ||
CMutableTransaction & | mtx | ||
) |
Create bumpfee transaction based on feerate estimates.
Result feebumper::CreateTotalBumpTransaction | ( | const CWallet * | wallet, |
const uint256 & | txid, | ||
const CCoinControl & | coin_control, | ||
CAmount | total_fee, | ||
std::vector< std::string > & | errors, | ||
CAmount & | old_fee, | ||
CAmount & | new_fee, | ||
CMutableTransaction & | mtx | ||
) |
Create bumpfee transaction based on total amount.
bool feebumper::SignTransaction | ( | CWallet * | wallet, |
CMutableTransaction & | mtx | ||
) |
Sign the new transaction,