bitcoin-ruby-node
bitcoin-ruby-node copied to clipboard
Mempool
The Mempool stores unconfirmed transactions to be included in a block. All transactions are validated and checked for doublespends. If a doublespend is detected, the doublespending tx is stored separately, and the tx that is being doublespent is flagged.
Transactions should go through the queues after all. Processing each tx in the mempool as it comes in locks up the whole process too much / unpredictably long. Even if this means clients might have to wait a second longer for their notification.