Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hayarobi committed Oct 17, 2023
1 parent 5afc977 commit 446dd13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ type Consensus interface {
ChainConsensus
ConsensusAccessor
Ticker() *time.Ticker
// QueueJob queues block generation job.
// It waits until next block generation time is reached in raft consensus and sbp.
QueueJob(now time.Time, jq chan<- interface{})
BlockFactory() BlockFactory
QuitChan() chan interface{}
Expand Down

0 comments on commit 446dd13

Please sign in to comment.