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

Method LoadCommitteeData

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

LoadCommitteeData() returns the state metadata for the 'self chain'

()

Source from the content-addressed store, hash-verified

389
390// LoadCommitteeData() returns the state metadata for the 'self chain'
391func (c *Controller) LoadCommitteeData() (data *lib.CommitteeData, err lib.ErrorI) {
392 // get the committee data from the FSM
393 return c.FSM.GetCommitteeData(c.Config.ChainId)
394}
395
396// Syncing() returns if any of the supported chains are currently syncing
397func (c *Controller) Syncing() *atomic.Bool { return c.isSyncing }

Callers

nothing calls this directly

Calls 1

GetCommitteeDataMethod · 0.80

Tested by

no test coverage detected