aboutsummaryrefslogtreecommitdiffstats
path: root/block_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-10 08:17:31 +0800
committerobscuren <geffobscura@gmail.com>2014-11-10 08:17:31 +0800
commitcbeebcd47da846e1b8990313f1ff1ffe7d0bf00f (patch)
tree95db04f468e66ebb26afd81bc72abea8fbcf7c0e /block_pool.go
parentf538ea25e46d59dfa225ed105343d9c6a9909c2c (diff)
downloadgo-tangerine-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.gz
go-tangerine-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.zst
go-tangerine-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.zip
Fixed bloom, updated mining & block processing
* Reverted back to process blocks in batches method * Bloom generation and lookup fix * Minor UI changed (mainly debug)
Diffstat (limited to 'block_pool.go')
-rw-r--r--block_pool.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/block_pool.go b/block_pool.go
index ec945fa6e..52f2f4f86 100644
--- a/block_pool.go
+++ b/block_pool.go
@@ -317,7 +317,7 @@ out:
chainManager := self.eth.ChainManager()
// Test and import
chain := chain.NewChain(blocks)
- _, err := chainManager.TestChain(chain, true)
+ _, err := chainManager.TestChain(chain)
if err != nil {
poollogger.Debugln(err)
@@ -330,7 +330,7 @@ out:
self.td = ethutil.Big0
self.peer = nil
} else {
- //chainManager.InsertChain(chain)
+ chainManager.InsertChain(chain)
for _, block := range blocks {
self.Remove(block.Hash())
}