Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 7b406dcb0f0078c8f40876f9514d9333767d20c7
https://github.com/conformal/btcd/commit/7b406dcb0f0078c8f40876f9514d9333767d20c7
Author: Dale Rahn <[email protected]>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M blockmanager.go
M peer.go
Log Message:
-----------
Implement a fast path for the Initial Block Download.
It is not necessary to do all of the transaction validation on
blocks if they have been confirmed to be in the block chain leading
up to the final checkpoint in a given blockschain.
This algorithm fetches block headers from the peer, then once it has
established the full blockchain connection, it requests blocks.
Any blocks before the final checkpoint pass true for fastAdd on
btcchain operation, which causes it to do less valiation on the block.