This commit is contained in:
jdl
2026-06-10 06:36:30 +02:00
parent a205f3acef
commit bb28b8f340
9 changed files with 46 additions and 32 deletions

View File

@@ -13,17 +13,18 @@ type PeerInitResp struct {
}
type Peer struct {
PeerIP byte
Version int64
Name string
Addr4 []byte
Addr6 []byte
Port uint16
PeerIP byte
Version int64
Name string
Addr4 []byte
Addr6 []byte
Port uint16
Relay bool
WGPubKey []byte
SignPubKey []byte
}
type NetworkState struct {
Peers [256]*Peer
LocalDomain string
Peers [256]*Peer
}