From 567d41d9363706b4b13ce0903804e8acf214af49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Sun, 5 Mar 2017 20:00:01 +0200 Subject: all: swap out the C++ ethash to the pure Go one (mining todo) --- core/blockchain.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/blockchain.go') diff --git a/core/blockchain.go b/core/blockchain.go index 0c752b3f9..765a4b318 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -223,6 +223,9 @@ func (self *BlockChain) loadLastState() error { log.Info("Loaded most recent local full block", "number", self.currentBlock.Number(), "hash", self.currentBlock.Hash(), "td", blockTd) log.Info("Loaded most recent local fast block", "number", self.currentFastBlock.Number(), "hash", self.currentFastBlock.Hash(), "td", fastTd) + // Try to be smart and issue a pow verification for the head to pre-generate caches + go self.pow.Verify(types.NewBlockWithHeader(currentHeader)) + return nil } -- cgit v1.2.3