Fixed bloom, updated mining & block processing

* Reverted back to process blocks in batches method
* Bloom generation and lookup fix
* Minor UI changed (mainly debug)
This commit is contained in:
obscuren
2014-11-10 01:17:31 +01:00
parent f538ea25e4
commit cbeebcd47d
14 changed files with 76 additions and 57 deletions

View File

@ -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())
}