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

Method verifyCommit

internal/blocksync/v2/processor_context.go:50–52  ·  view source on GitHub ↗
(chainID string, blockID types.BlockID, height int64, commit *types.Commit)

Source from the content-addressed store, hash-verified

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)
52}
53
54func (pc *pContext) saveBlock(block *types.Block, blockParts *types.PartSet, seenCommit *types.Commit) {
55 pc.store.SaveBlock(block, blockParts, seenCommit)

Callers

nothing calls this directly

Calls 1

VerifyCommitLightMethod · 0.80

Tested by

no test coverage detected