MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / getNextTurn

Method getNextTurn

sqlchain/runtime.go:193–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193func (r *runtime) getNextTurn() int32 {
194 r.stateMutex.Lock()
195 defer r.stateMutex.Unlock()
196 return r.nextTurn
197}
198
199// IncNextTurn prepares the runtime state for the next turn.
200func (r *runtime) IncNextTurn() {

Callers 7

syncHeadMethod · 0.80
runCurrentTurnMethod · 0.80
syncMethod · 0.80
processBlocksMethod · 0.80
CheckAndPushNewBlockMethod · 0.80
pruneBlockCacheMethod · 0.80
logEntryWithHeadStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected