-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore incoming pending transactions when sync mode is blockchair
This is because in blockchair sync mode we don't sync all the blocks after the checkpoint. Instead, we only sync blocks where blockchair says we have a transaction. Thus, if we receive an incoming transaction "A" which is replaced by another transaction "B" (that sends funds to another wallet) in the mempool, we won't receive "B" from blockchair (because it's not related to any of our addresses), and so "A" is left in 'pending' state on our list of transactions. A 'pending' transaction is left forever, and the user may think the funds are still on the way, whereas in fact, they were sent to another wallet.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters