MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / AbandonTransaction

Method AbandonTransaction

src/wallet/wallet.cpp:1311–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309}
1310
1311bool CWallet::AbandonTransaction(const Txid& hashTx)
1312{
1313 LOCK(cs_wallet);
1314 auto it = mapWallet.find(hashTx);
1315 assert(it != mapWallet.end());
1316 return AbandonTransaction(it->second);
1317}
1318
1319bool CWallet::AbandonTransaction(CWalletTx& tx)
1320{

Callers 3

walletdb.cppFile · 0.80
abandonTransactionMethod · 0.80
abandontransactionFunction · 0.80

Calls 7

findMethod · 0.80
InMempoolMethod · 0.80
isConfirmedMethod · 0.80
isBlockConflictedMethod · 0.80
isAbandonedMethod · 0.80
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.70
endMethod · 0.45

Tested by

no test coverage detected