| 1154 | } |
| 1155 | |
| 1156 | void 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 | |
| 1166 | bool CWallet::AbandonTransaction(const uint256& hashTx) |
| 1167 | { |