aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorAntoine Riard <[email protected]>2019-08-15 11:42:16 -0400
committerAntoine Riard <[email protected]>2019-08-23 14:53:23 -0400
commit7e89994133725125dddbfa8d45484e3b9ed51c6e (patch)
tree91559665e653857ad3a9c03e718bdf13f654009d /src/httpserver.cpp
parentEncapsulate tx status in a Confirmation struct (diff)
downloaddiscoin-7e89994133725125dddbfa8d45484e3b9ed51c6e.tar.xz
discoin-7e89994133725125dddbfa8d45484e3b9ed51c6e.zip
Remove SyncTransaction for conflicted txn in CWallet::BlockConnected
We shouldn't rely on this sync call to get an accurate view of txn state, if a tx conflicts with one in mapTx we are going to update our wallet dependencies in AddToWalletIfInvolvingMe while conflicting txn get connected. If it doesn't conflict with one of our dependencies we are not going to track it anyway. This is a cleanup, as this SyncTransaction is redundant with the following one for confirmation which is triggering the MarkConflicted logic. We keep the loop because set of conflicted txn isn't same as txn included in block.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions