3 ms·
> It's not about double spend. The wait for confirmation is exactly to avoid double spend (but not only), as the Bitcoin wiki says[0]. > It's entirely possib
by jakopo87 5y ago
> It's not about double spend.
The wait for confirmation is exactly to avoid double spend (but not only), as the Bitcoin wiki says[0].
> It's entirely possible two miners successfully mine a block simultaneously but one of the miners didn't include your transaction in the block they mined.
The example you make would work with just 1 block of confirmation, just keep try to include the transaction into the next block.
> longest blockchain wins, so whichever gets the most participants is likely to be the final blockchain
It's more about hashrate power rather than number of participants, however the longest blockchain of confirmed blocks wins, unconfirmed blocks may be invalidated and transactions pushed to the next ones or dropped.
> I'm not certain what it takes to be dropped from the mempool.
After 2 weeks[1] the transaction is considered invalid and should get dropped from the mempool (not all nodes use the same software version or they may run a fork with different settings)
[0] https://en.bitcoin.it/wiki/Irreversible_Transactions https://en.bitcoin.it/wiki/Irreversible_Transactions
[1] https://github.com/bitcoin/bitcoin/pull/9312 https://github.com/bitcoin/bitcoin/pull/9312
EDIT: grammar
- 0x000000001 5y agoYou make good points I wasn't considering when I wrote that, and thanks for the mempool expiration info