Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 21872ecdaa42affb4c21903ece57bc72bc0b7eb1
https://github.com/conformal/btcd/commit/21872ecdaa42affb4c21903ece57bc72bc0b7eb1
Author: Dave Collins <[email protected]>
Date: 2014-06-25 (Wed, 25 Jun 2014)
Changed paths:
M blockmanager.go
M util/addblock/import.go
Log Message:
-----------
Update for recent btcchain ProcessBlock API change.
Now that the ProcessBlock function returns whether or not the block was an
orphan, the code which requests the parent blocks from the peer that sent
them has been moved to directly after the call to it.
This makes the handling more obvious and has allowed removal of the
blockPeer map which was kept so the notification handler could identify
which peer to request the blocks from.
ok @jrick