1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2025-01-09 07:10:56 +00:00

CH12: clarify comment about time between blocks

Comment explained why one 10-minute block doesn't give more security
than ten 1-minute blocks but didn't also warn about the problems with
1-minute blocks.
This commit is contained in:
David A. Harding 2023-08-09 16:03:14 -10:00
parent 43ae026233
commit aefffbc5d3

View File

@ -1181,7 +1181,10 @@ only advantage is providing weaker guarantees to people who are willing
to accept those guarantees. For example, if you're willing to accept to accept those guarantees. For example, if you're willing to accept
three minutes of miners agreeing on the best block chain as sufficient three minutes of miners agreeing on the best block chain as sufficient
security, you'd prefer a system with 1-minute blocks, where you could security, you'd prefer a system with 1-minute blocks, where you could
wait for three blocks, over a system with 10-minute blocks. wait for three blocks, over a system with 10-minute blocks. The shorter
the time between blocks, the more miner work is wasted on accidental
forks (in addition to other problems), so many people prefer Bitcoin's
10-minute blocks over shorter block intervals.
==== ====
((("", ((("",
@ -1488,7 +1491,7 @@ delaying the transaction to obtain a signature is comparatively larger.
In contrast, selling a more expensive item for bitcoin runs the risk of In contrast, selling a more expensive item for bitcoin runs the risk of
a double-spend attack, where the buyer broadcasts a competing a double-spend attack, where the buyer broadcasts a competing
transaction that spends one of the same inputs (UTXOs) and cancels the payment transaction that spends one of the same inputs (UTXOs) and cancels the payment
to the merchant. to the merchant.
A 51% attack allows attackers A 51% attack allows attackers
to double-spend their own transactions in the new chain, thus undoing to double-spend their own transactions in the new chain, thus undoing
the corresponding transaction in the old chain. the corresponding transaction in the old chain.