Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeAI-Artist/Linkis
/ LoadBlock
Method
LoadBlock
blockchain/v2/reactor.go:26–26 ·
view source on GitHub ↗
(height int64)
Source
from the content-addressed store, hash-verified
24
25
type
blockStore
interface
{
26
LoadBlock(height int64) *types.Block
27
SaveBlock(*types.Block, *types.PartSet, *types.Commit)
28
Base() int64
29
Height() int64
Callers
15
TestBlockStoreSaveLoadBlock
Function · 0.65
TestBlockFetchAtHeight
Function · 0.65
eventReIndex
Function · 0.65
respondToPeer
Method · 0.65
TestNoBlockResponse
Function · 0.65
ReceiveEnvelope
Method · 0.65
sendBlockToPeer
Method · 0.65
TestFastSyncNoBlockResponse
Function · 0.65
Block
Function · 0.65
BlockSearch
Function · 0.65
Tx
Function · 0.65
TxSearch
Function · 0.65
Implementers
4
BlockStore
state/mocks/block_store.go
BlockStore
store/store.go
mockBlockStore
rpc/core/blocks_test.go
mockBlockStore
consensus/replay_test.go
Calls
no outgoing calls
Tested by
5
TestBlockStoreSaveLoadBlock
Function · 0.52
TestBlockFetchAtHeight
Function · 0.52
TestNoBlockResponse
Function · 0.52
TestFastSyncNoBlockResponse
Function · 0.52
TestSimulateValidatorsChange
Function · 0.52