Closed nopara73 closed 7 years ago
What's the purpose of mempool? Just storing unconfirmed trx associated to any tracked addresses right?
Answered here: https://github.com/nopara73/HBitcoin/issues/10#issuecomment-290838162
The short answer is no: the MemPoolJob keeps all tx hashes up to date and raises an event when a new transaction arrives (not only tx hash, but full transaction). Also it does not track the transactions, the WalletJob subscribes to the MemPoolJob's transactions and it calls the tracker to process that transaction, if it needs to be tracked or not. Then the tracker starts tracking it or not.
After: https://github.com/nopara73/HBitcoin/issues/6 Related: https://github.com/nopara73/HBitcoin/issues/10
It's not done in the best possible way, we could gain a second or two refactoring it.