We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcad523 commit d2b5033Copy full SHA for d2b5033
cmd/relaynode/api.go
@@ -72,16 +72,17 @@ func (api *PublicRelayAPI) GetPeerInfo(verbose *bool, network *string) (interfac
72
}
73
74
info := &json.GetPeerInfoResult{
75
- ID: p.PeerID.String(),
76
- Name: p.Name,
77
- Address: p.Address,
78
- BytesSent: p.BytesSent,
79
- BytesRecv: p.BytesRecv,
80
- Bads: p.Bads,
81
- ReConnect: p.ReConnect,
82
- Active: active,
83
- Snap: p.IsSnap(),
84
- SnapSync: p.InSnapSync,
+ ID: p.PeerID.String(),
+ Name: p.Name,
+ Address: p.Address,
+ BytesSent: p.BytesSent,
+ BytesRecv: p.BytesRecv,
+ Bads: p.Bads,
+ ReConnect: p.ReConnect,
+ Active: active,
+ Snap: p.IsSnap(),
+ InSnapSync: p.InSnapSync,
85
+ LongConnStat: p.LongConnStat,
86
87
info.Protocol = p.Protocol
88
info.Services = p.Services.String()
0 commit comments