Merge pull request #702 from ethersphere/frontier/blockpool

blockpool stability fixes:
This commit is contained in:
Jeffrey Wilcke
2015-04-13 17:35:25 +02:00
13 changed files with 370 additions and 366 deletions

View File

@ -473,6 +473,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
}
if IsParentErr(err) && self.futureBlocks.Has(block.ParentHash()) {
block.SetQueued(true)
self.futureBlocks.Push(block)
stats.queued++
continue