* [Bitcoin-development] Pull request: faster initial blockchain download
@ 2011-09-05 20:41 Gavin Andresen
0 siblings, 0 replies; only message in thread
From: Gavin Andresen @ 2011-09-05 20:41 UTC (permalink / raw)
To: Bitcoin Dev
I'd appreciate review/feedback on this:
https://github.com/bitcoin/bitcoin/pull/492
This change skips ECDSA signature verification for transactions during
the initial block-chain download, which makes downloading the block
chain much faster.
"Initial block chain download" is all blocks up to 120 blocks before
the last blockchain lock-in point.
Reasoning for why this is safe:
If an attacker tries to feed a client bad transactions during the
initial block-chain download (transactions with invalid signatures),
then they change the merkle tree, and at the first blockchain lock-in
the bad chain will be rejected.
Transactions are still checked for orphan blocks that come in during
initial block-chain-download (ConnectInputs will be called with
fBlock=FALSE) and for mined blocks (ConnectInputs called with
fMiner=TRUE).
--
--
Gavin Andresen
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-05 20:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-05 20:41 [Bitcoin-development] Pull request: faster initial blockchain download Gavin Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox