1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2025-04-15 06:46:08 +00:00

ch06/original_tx_replacement: Fix attacker bandwidth

20 B * 10,000 should be 200 KB, not 20 KB.
This commit is contained in:
Matevž Jekovec 2025-01-13 23:52:13 +01:00
parent 275c4eb8ea
commit 965d1e3040

View File

@ -485,7 +485,7 @@ transaction with a different version an unlimited number of
times. Each replacement would consume the bandwidth of all the relaying full nodes
on the network. For example, as of this writing, there are about 50,000
relaying full nodes; an attacker creating 1,000 replacement transactions
per minute at 200 bytes each would use about 20 KB of their
per minute at 200 bytes each would use about 200 KB of their
personal bandwidth but about 10 GB of full node network bandwidth
every minute. Except for the cost of their 20 KB/minute bandwidth and
the occasional fee when a transaction got confirmed, the attacker wouldn't