MCPcopy Create free account
hub / github.com/ElementsProject/elements / MarkInputsDirty

Method MarkInputsDirty

src/wallet/wallet.cpp:1156–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156void CWallet::MarkInputsDirty(const CTransactionRef& tx)
1157{
1158 for (const CTxIn& txin : tx->vin) {
1159 auto it = mapWallet.find(txin.prevout.hash);
1160 if (it != mapWallet.end()) {
1161 it->second.MarkDirty(*this);
1162 }
1163 }
1164}
1165
1166bool CWallet::AbandonTransaction(const uint256& hashTx)
1167{

Callers

nothing calls this directly

Calls 3

findMethod · 0.80
endMethod · 0.45
MarkDirtyMethod · 0.45

Tested by

no test coverage detected