Merge pull request #702 from ethersphere/frontier/blockpool
blockpool stability fixes:
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user