diff options
Diffstat (limited to 'blockpool/blockpool.go')
-rw-r--r-- | blockpool/blockpool.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/blockpool/blockpool.go b/blockpool/blockpool.go index eb3b415dc..c3e20801a 100644 --- a/blockpool/blockpool.go +++ b/blockpool/blockpool.go @@ -33,7 +33,7 @@ var ( // timeout interval: max time allowed for peer without sending a block blocksTimeout = 60 * time.Second // - idleBestPeerTimeout = 60 * time.Second + idleBestPeerTimeout = 120 * time.Second ) // config embedded in components, by default fall back to constants @@ -568,6 +568,7 @@ func (self *BlockPool) AddBlock(block *types.Block, peerId string) { // sender.currentBlockC <- block self.status.lock.Lock() + self.status.values.BlockHashes++ self.status.values.Blocks++ self.status.values.BlocksInPool++ self.status.lock.Unlock() |