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

Method getPeers

sqlchain/runtime.go:318–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

316}
317
318func (r *runtime) getPeers() *proto.Peers {
319 r.peersMutex.Lock()
320 defer r.peersMutex.Unlock()
321 peers := r.peers.Clone()
322 return &peers
323}
324
325func (r *runtime) getLastBillingHeight() int32 {
326 r.stateMutex.Lock()

Callers 3

produceBlockMethod · 0.80
syncHeadMethod · 0.80
CheckAndPushNewBlockMethod · 0.80

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected