• Juan Batiz-Benet's avatar
    p2p/net/identify: clump addr observers into groups · f5a9795d
    Juan Batiz-Benet authored
    Different mutliaddrs is not enough. Nodes may share transports.
    NAT port mappings will likely only work on the base IP/TCP port
    pair. We go one step further, and require different root (IP)
    addrs. Just in case some NATs group by IP. In practice, this is
    what we want: use addresses only if hosts that are on different
    parts of the network have seen this address.
    f5a9795d
obsaddr_test.go 2.02 KB