MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / LoadBlockMeta

Method LoadBlockMeta

evidence/services.go:10–10  ·  view source on GitHub ↗
(height int64)

Source from the content-addressed store, hash-verified

8
9type BlockStore interface {
10 LoadBlockMeta(height int64) *types.BlockMeta
11 LoadBlockCommit(height int64) *types.Commit
12 Height() int64
13}

Callers 15

RollbackFunction · 0.65
TestLoadBlockMetaFunction · 0.65
gossipDataRoutineMethod · 0.65
gossipDataForCatchupMethod · 0.65
replayBlockMethod · 0.65
needProofBlockMethod · 0.65
recordMetricsMethod · 0.65
BlockchainInfoFunction · 0.65
BlockFunction · 0.65
BlockByHashFunction · 0.65

Implementers 4

BlockStorestate/mocks/block_store.go
BlockStorestore/store.go
mockBlockStorerpc/core/blocks_test.go
mockBlockStoreconsensus/replay_test.go

Calls

no outgoing calls

Tested by 3

TestLoadBlockMetaFunction · 0.52