Hi!
I’m running a node and I tried observing the neighbourhood of this node in order to get a feel for how IPFS (or rather, libp2p) works.
What I now don’t understand is why some nodes (which I know to be online) with comparatively close Identifiers do not show up when issuing ipfs swarm peers
while other, farther away (wrt. XOR distance) nodes do show up.
FYI, I calculated distances by feeding identifiers into the XOR function provided by libp2p. For example, the IDs
QmPBcMKHuZpN6HDEJ6TKRJvsh37u1oK2BfyNPGowvVCAbC
and QmPC6CeopyPW5Zd7AogbtLyX852ikKczw2CnPTQvciR6B9
have a distance of
114545139385334970708164582957464818515709977098988240905961195283550328
.
Best,
Sifgried