MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / updateRoundStep

Method updateRoundStep

consensus/state.go:522–525  ·  view source on GitHub ↗
(round int32, step cstypes.RoundStepType)

Source from the content-addressed store, hash-verified

520}
521
522func (cs *State) updateRoundStep(round int32, step cstypes.RoundStepType) {
523 cs.Round = round
524 cs.Step = step
525}
526
527// enterNewRound(height, 0) at cs.StartTime.
528func (cs *State) scheduleRound0(rs *cstypes.RoundState) {

Callers 7

updateToStateMethod · 0.95
enterNewRoundMethod · 0.95
enterProposeMethod · 0.95
enterPrevoteMethod · 0.95
enterPrevoteWaitMethod · 0.95
enterPrecommitMethod · 0.95
enterCommitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected