MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetCurrentBlockHash

Method GetCurrentBlockHash

core/store/store.go:51–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 SubmitBlock(b *types.Block, exec ExecuteResult) error // called by consensus
50 GetStateMerkleRoot(height uint32) (result common.Uint256, err error)
51 GetCurrentBlockHash() common.Uint256
52 GetCurrentBlockHeight() uint32
53 GetCurrentHeaderHeight() uint32
54 GetCurrentHeaderHash() common.Uint256

Callers 6

CurrentBlockHashFunction · 0.65
GetCurrentBlockHashMethod · 0.65
makeBlockFunction · 0.65
ResetMethod · 0.65
makeBlockMethod · 0.65

Implementers 1

LedgerStoreImpcore/store/ledgerstore/ledger_store.go

Calls

no outgoing calls

Tested by 1