MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / getLocalBPInfo

Method getLocalBPInfo

blockproducer/chain.go:999–1003  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

997}
998
999func (c *Chain) getLocalBPInfo() *blockProducerInfo {
1000 c.RLock()
1001 defer c.RUnlock()
1002 return c.localBPInfo
1003}
1004
1005// getRemoteBPInfos remove this node from the peer list.
1006func (c *Chain) getRemoteBPInfos() (remoteBPInfos []*blockProducerInfo) {

Callers 9

StopMethod · 0.95
advanceNextHeightMethod · 0.95
syncHeadsMethod · 0.95
mainCycleMethod · 0.95
syncCurrentHeadMethod · 0.95
blockingFetchBlockMethod · 0.95
NewChainWithContextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected