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

Method applyBlock

internal/blocksync/v2/processor_context.go:36–40  ·  view source on GitHub ↗
(blockID types.BlockID, block *types.Block)

Source from the content-addressed store, hash-verified

34}
35
36func (pc *pContext) applyBlock(blockID types.BlockID, block *types.Block) error {
37 newState, err := pc.applier.ApplyBlock(pc.state, blockID, block)
38 pc.state = newState
39 return err
40}
41
42func (pc pContext) tmState() state.State {
43 return pc.state

Callers

nothing calls this directly

Calls 1

ApplyBlockMethod · 0.65

Tested by

no test coverage detected