MCPcopy Create free account
hub / github.com/ChainSafe/nodewatch-api / String

Method String

models/peer.go:126–131  ·  view source on GitHub ↗

String returns the sync status

()

Source from the content-addressed store, hash-verified

124
125// String returns the sync status
126func (s *Sync) String() string {
127 if s.Status {
128 return StatusSynced
129 }
130 return StatusUnsynced
131}
132
133// Peer holds all information of an eth2 peer
134type Peer struct {

Callers 3

NewPeerFunction · 0.45
GetHeatmapDataMethod · 0.45
GroupByHardforkScheduleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected