MCPcopy Create free account
hub / github.com/tendermint/tendermint / setState

Method setState

internal/blocksync/v2/processor_context.go:46–48  ·  view source on GitHub ↗
(state state.State)

Source from the content-addressed store, hash-verified

44}
45
46func (pc *pContext) setState(state state.State) {
47 pc.state = state
48}
49
50func (pc pContext) verifyCommit(chainID string, blockID types.BlockID, height int64, commit *types.Commit) error {
51 return pc.state.Validators.VerifyCommitLight(chainID, blockID, height, commit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected