| 46 | ) |
| 47 | |
| 48 | type simpleResolver struct { |
| 49 | nodes sync.Map // *proto.RawNodeID -> *proto.Node |
| 50 | } |
| 51 | |
| 52 | func (r *simpleResolver) registerNode(node *proto.Node) { |
| 53 | key := *(node.ID.ToRawNodeID()) |
nothing calls this directly
no outgoing calls
no test coverage detected