cmd/core,xeth: removed unneeded states & added batch writes

This commit is contained in:
Jeffrey Wilcke
2015-07-17 15:43:16 +02:00
parent 0cff61beda
commit 8fc9830971
5 changed files with 120 additions and 59 deletions

View File

@ -123,7 +123,7 @@ func New(ethereum *eth.Ethereum, frontend Frontend) *XEth {
if frontend == nil {
xeth.frontend = dummyFrontend{}
}
xeth.state = NewState(xeth, xeth.backend.ChainManager().TransState())
xeth.state = NewState(xeth, xeth.backend.ChainManager().State())
go xeth.start()
go xeth.filterManager.Start()