Merge branch 'tmp' into develop
Conflicts: peer.go
This commit is contained in:
@@ -158,6 +158,9 @@ func (s *Ethereum) StateManager() *ethchain.StateManager {
|
||||
func (s *Ethereum) TxPool() *ethchain.TxPool {
|
||||
return s.txPool
|
||||
}
|
||||
func (s *Ethereum) BlockPool() *BlockPool {
|
||||
return s.blockPool
|
||||
}
|
||||
func (self *Ethereum) Db() ethutil.Database {
|
||||
return self.db
|
||||
}
|
||||
@@ -503,6 +506,7 @@ func (s *Ethereum) Stop() {
|
||||
s.stateManager.Stop()
|
||||
s.reactor.Flush()
|
||||
s.reactor.Stop()
|
||||
s.blockPool.Stop()
|
||||
|
||||
ethlogger.Infoln("Server stopped")
|
||||
close(s.shutdownChan)
|
||||
|
Reference in New Issue
Block a user