multi: add logs when subservers are starting

Also unified the log messages.
This commit is contained in:
yyforyongyu committed 2022-02-11 21:17:03 +08:00
1 parent 2891dc7399
commit 1ad6bbfbc2
18 files changed
+20 -15

No files matched your search

+1 -2
View File
@@ -498,14 +498,13 @@ func (d *AuthenticatedGossiper) PropagateChanPolicyUpdate(
func (d *AuthenticatedGossiper) Start() error {
var err error
d.started.Do(func() {
log.Info("Authenticated Gossiper starting")
err = d.start()
})
return err
}
func (d *AuthenticatedGossiper) start() error {
log.Info("Authenticated Gossiper is starting")
// First we register for new notifications of newly discovered blocks.
// We do this immediately so we'll later be able to consume any/all
// blocks which were discovered.