Update - modify hub to support multiple networks. (#4)

Co-authored-by: jdl <jdl@desktop>
Reviewed-on: #4
This commit is contained in:
johnnyleeandjdl committed 2025-04-12 11:43:18 +00:00
1 parent 03b1bbcbcf
commit b9e773ec83
38 files changed
+773 -455

No files matched your search

+4 -6
View File
@@ -6,12 +6,10 @@ type PeerInitArgs struct {
PubSignKey []byte
}
type PeerConfig struct {
PeerIP byte
Network []byte
PublicIP []byte
Port uint16
Relay bool
type PeerInitResp struct {
PeerIP byte
Network []byte
NetworkState NetworkState
}
type Peer struct {