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

Method ChainHeight

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

ChainHeight() returns the height of this target chain

()

Source from the content-addressed store, hash-verified

407
408// ChainHeight() returns the height of this target chain
409func (c *Controller) ChainHeight() uint64 { return c.FSM.Height() }
410
411// emptyInbox() discards all unread messages for a specific topic
412func (c *Controller) emptyInbox(topic lib.Topic) {

Callers 2

Calls 1

HeightMethod · 0.45

Tested by

no test coverage detected