Include short peer ID in report JSON
This commit is contained in:
1 parent
eaf1f7cc13
commit
ed4ed5fdcd
1 file changed
+2
@@ -36,6 +36,7 @@ type PeerStatus struct {
|
|||||||
Name string
|
Name string
|
||||||
NickName string
|
NickName string
|
||||||
UID PeerUID
|
UID PeerUID
|
||||||
|
ShortID PeerShortID
|
||||||
Version uint64
|
Version uint64
|
||||||
Connections []ConnectionStatus
|
Connections []ConnectionStatus
|
||||||
}
|
}
|
||||||
@@ -122,6 +123,7 @@ func NewPeerStatusSlice(peers *Peers) []PeerStatus {
|
|||||||
peer.Name.String(),
|
peer.Name.String(),
|
||||||
peer.NickName,
|
peer.NickName,
|
||||||
peer.UID,
|
peer.UID,
|
||||||
|
peer.ShortID,
|
||||||
peer.Version,
|
peer.Version,
|
||||||
connections})
|
connections})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user