MCPcopy Index your code
hub / github.com/chain/Core / Height

Method Height

protocol/protocol.go:74–74  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

72// from storage and persist validated data.
73type Store interface {
74 Height(context.Context) (uint64, error)
75 GetBlock(context.Context, uint64) (*legacy.Block, error)
76 LatestSnapshot(context.Context) (*state.Snapshot, uint64, error)
77

Callers 15

NewChainFunction · 0.65
RecoverMethod · 0.65
makeEmptyBlockFunction · 0.65
MakeBlockFunction · 0.65
buildHandlerMethod · 0.65
finalizeTxWaitMethod · 0.65
leaderInfoMethod · 0.65
leadMethod · 0.65
createTxFeedMethod · 0.65
FetchFunction · 0.65

Implementers 2

MemStoreprotocol/prottest/memstore/memstore.go
Storecore/txdb/store.go

Calls

no outgoing calls

Tested by 9

makeEmptyBlockFunction · 0.52
TestSighashCheckFunction · 0.52
TestConflictingTxsInPoolFunction · 0.52
TestTransferConfirmedFunction · 0.52
TestAccountSourceReserveFunction · 0.52