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

Method LoadBlockPart

state/services.go:32–32  ·  view source on GitHub ↗
(height int64, index int)

Source from the content-addressed store, hash-verified

30
31 LoadBlockByHash(hash []byte) *types.Block
32 LoadBlockPart(height int64, index int) *types.Part
33
34 LoadBlockCommit(height int64) *types.Commit
35 LoadSeenCommit(height int64) *types.Commit

Callers 3

TestLoadBlockPartFunction · 0.65
gossipDataForCatchupMethod · 0.65
gossipDataForCatchupMethod · 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 1

TestLoadBlockPartFunction · 0.52