MCPcopy Create free account
hub / github.com/canopy-network/canopy / LoadMinimumEvidenceHeight

Method LoadMinimumEvidenceHeight

controller/controller.go:339–341  ·  view source on GitHub ↗

LoadMinimumEvidenceHeight() gets the minimum evidence height from the finite state machine

(rootChainId, rootHeight uint64)

Source from the content-addressed store, hash-verified

337
338// LoadMinimumEvidenceHeight() gets the minimum evidence height from the finite state machine
339func (c *Controller) LoadMinimumEvidenceHeight(rootChainId, rootHeight uint64) (*uint64, lib.ErrorI) {
340 return c.RCManager.GetMinimumEvidenceHeight(rootChainId, rootHeight)
341}
342
343// LoadMaxBlockSize() gets the max block size from the state
344func (c *Controller) LoadMaxBlockSize() int {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected