all: remove dead gRPC config, tests, and helpers

Drop grpc_listen_addr/grpc_allow_insecure config, the gRPC auth integration
tests, GrpcSocketDialer, and stale gRPC comments now that the API is HTTP-only.
This commit is contained in:
Kristoffer Dalby
2026-06-17 19:39:29 +00:00
parent 8e194721b7
commit 33774888c2
9 changed files with 19 additions and 338 deletions
+3 -4
View File
@@ -524,10 +524,9 @@ func (node *Node) AnnouncedRoutes() []netip.Prefix {
// of the subnet-router-as-source identity.
//
// IMPORTANT: This method is used for internal data structures and should NOT be
// used for the gRPC Proto conversion. For Proto, SubnetRoutes must be populated
// manually with PrimaryRoutes to ensure it includes only routes actively served
// by the node. See the comment in [Node.Proto] method and the implementation in
// grpcv1.go/nodesToProto.
// used to populate the API SubnetRoutes field. For the API, SubnetRoutes must be
// populated manually with PrimaryRoutes to ensure it includes only routes
// actively served by the node. See hscontrol/api/v1/nodes.go.
func (node *Node) SubnetRoutes() []netip.Prefix {
var routes []netip.Prefix