aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-07-12 16:02:31 -0400
committerBen Woosley <ben.woosley@gmail.com>2018-07-13 16:18:13 -0400
commitb7f565094296b727d1309418d3a284d942f15f11 (patch)
treeafcec34584c4020c78efbec35b0e14146c66afa6 /src/wallet/wallet.h
parent619cd29393b68426f3d9c0d7467509fadfa9f933 (diff)
Extract CWallet::MarkInputsDirty
To avoid repeated implementations.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 0118ced687..16ae4034bd 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -706,6 +706,9 @@ private:
/* Mark a transaction (and its in-wallet descendants) as conflicting with a particular block. */
void MarkConflicted(const uint256& hashBlock, const uint256& hashTx);
+ /* Mark a transaction's inputs dirty, thus forcing the outputs to be recomputed */
+ void MarkInputsDirty(const CTransactionRef& tx);
+
void SyncMetaData(std::pair<TxSpends::iterator, TxSpends::iterator>);
/* Used by TransactionAddedToMemorypool/BlockConnected/Disconnected/ScanForWalletTransactions.