Browse Source

add more log

yutianwu 4 years ago
parent
commit
4a84cfdf62
1 changed files with 2 additions and 0 deletions
  1. 2 0
      consensus/parlia/parlia.go

+ 2 - 0
consensus/parlia/parlia.go

@@ -868,8 +868,10 @@ func (p *Parlia) Seal(chain consensus.ChainHeaderReader, block *types.Block, res
 			log.Info("Waiting for received in turn block to process")
 			select {
 			case <-stop:
+				log.Info("Received block process finished, abort block seal")
 				return
 			case <-time.After(time.Duration(processBackOffTime) * time.Second):
+				log.Info("Process backoff time exhausted, start to seal block")
 			}
 		}