![]() |
BSHA3
0.17.99
P2P Blockchain, based on 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 | CreateTransaction (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. More... | |
bool | SignTransaction (CWallet *wallet, CMutableTransaction &mtx) |
Sign the new transaction,. More... | |
Result | CommitTransaction (CWallet *wallet, const uint256 &txid, CMutableTransaction &&mtx, std::vector< std::string > &errors, uint256 &bumped_txid) |
Commit the bumpfee transaction. More... | |
|
strong |
Enumerator | |
---|---|
OK | |
INVALID_ADDRESS_OR_KEY | |
INVALID_REQUEST | |
INVALID_PARAMETER | |
WALLET_ERROR | |
MISC_ERROR |
Definition at line 18 of file feebumper.h.
Result feebumper::CommitTransaction | ( | CWallet * | wallet, |
const uint256 & | txid, | ||
CMutableTransaction && | mtx, | ||
std::vector< std::string > & | errors, | ||
uint256 & | bumped_txid | ||
) |
Commit the bumpfee transaction.
Definition at line 219 of file feebumper.cpp.
Result feebumper::CreateTransaction | ( | 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.
Definition at line 76 of file feebumper.cpp.
bool feebumper::SignTransaction | ( | CWallet * | wallet, |
CMutableTransaction & | mtx | ||
) |
Sign the new transaction,.
Definition at line 214 of file feebumper.cpp.
Return whether transaction can be bumped.
Definition at line 65 of file feebumper.cpp.