Jeffrey Picard
2a1d6fa7d4
Updates based on code review
2021-12-06 11:32:45 -05:00
Jeffrey Picard
2e52c1639c
Refactor and fixes related to PR comments.
2021-12-06 11:32:45 -05:00
Jeffrey Picard
1c1d288654
Set UDP flags correctly.
2021-12-06 11:32:45 -05:00
Jeffrey Picard
283686ecac
Fix startup flags
2021-12-06 11:32:45 -05:00
Jeffrey Picard
ca0e8562f3
Add disable-federation flag, default false
2021-12-06 11:32:45 -05:00
Jeffrey Picard
72ea236d86
Run gofmt
2021-12-06 11:31:51 -05:00
Jeffrey Picard
0a1ba43d66
Full SPVPong parsing and tests against prod server.
2021-12-06 11:26:29 -05:00
Jeffrey Picard
4e6b47c2a3
Test UDPPing country parsing.
2021-12-06 11:26:29 -05:00
Jeffrey Picard
ee5fcaef14
Added test for getting IP with udp from prod servers.
2021-12-06 11:26:29 -05:00
Jeffrey Picard
159f4b941b
Add claim protobuf definition for UDP country encoding.
2021-12-06 11:26:29 -05:00
Jeffrey Picard
355eab682c
changes based on comments
2021-12-06 11:26:29 -05:00
Jeffrey Picard
395e1db489
UDPServer / ip address resolution
...
Got the UDPServer ping/pong protocol working internally, only tested
against other running go hub servers. Should in theory work with
python server and clients, but still need to test that.
Also switched to serving udp on the same port as grpc, and taking that
into account when pinging other hubs with udp.
Unit test for udp ip address lookup.
2021-12-06 11:26:29 -05:00