mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-28 00:27:26 +00:00
ethereum logs server started/stopped message
This commit is contained in:
parent
782f780476
commit
098136b681
1 changed files with 2 additions and 0 deletions
|
|
@ -362,6 +362,7 @@ func (s *Ethereum) Start(seed bool) {
|
|||
if seed {
|
||||
s.Seed()
|
||||
}
|
||||
ethlogger.Infoln("Server started")
|
||||
}
|
||||
|
||||
func (s *Ethereum) Seed() {
|
||||
|
|
@ -449,6 +450,7 @@ func (s *Ethereum) Stop() {
|
|||
s.txPool.Stop()
|
||||
s.stateManager.Stop()
|
||||
|
||||
ethlogger.Infoln("Server stopped")
|
||||
close(s.shutdownChan)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue