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

Method saveBlock

internal/blocksync/v2/processor_context.go:54–56  ·  view source on GitHub ↗
(block *types.Block, blockParts *types.PartSet, seenCommit *types.Commit)

Source from the content-addressed store, hash-verified

52}
53
54func (pc *pContext) saveBlock(block *types.Block, blockParts *types.PartSet, seenCommit *types.Commit) {
55 pc.store.SaveBlock(block, blockParts, seenCommit)
56}
57
58func (pc *pContext) recordConsMetrics(block *types.Block) {
59 pc.metrics.RecordConsMetrics(block)

Callers

nothing calls this directly

Calls 1

SaveBlockMethod · 0.65

Tested by

no test coverage detected