MCPcopy
hub / github.com/canopy-network/canopy / RootChainHeight

Method RootChainHeight

bft/bft.go:935–935  ·  view source on GitHub ↗

RootChainHeight returns the height of the root-chain

()

Source from the content-addressed store, hash-verified

933 ChainHeight() uint64
934 // RootChainHeight returns the height of the root-chain
935 RootChainHeight() uint64
936 // ProduceProposal() as a Leader, create a Proposal in the form of a block and certificate results
937 ProduceProposal(be *ByzantineEvidence, vdf *crypto.VDF) (rcBuildHeight uint64, block []byte, results *lib.CertificateResult, err lib.ErrorI)
938 // ValidateCertificate() as a Replica, validates the leader proposal

Callers 3

CheckMempoolMethod · 0.65
StartMethod · 0.65
RefreshRootChainInfoMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected