3 ms·
Unfortunately I don't have much to say about Hetzner or ETH, but I feel like there may be some similar minds reading this thread, so here goes.. This is a thou
by aliqot 4y ago
Unfortunately I don't have much to say about Hetzner or ETH, but I feel like there may be some similar minds reading this thread, so here goes..
This is a thought experiment:
hypothetical scenario, pretend our fictitious p2p network is in a vacuum and all peers are speaking over ipv4.
How would it affect peer diversity if each peer refused to add an other remote peer that shares any of its IP octets? Obviously ip6 would break this to an extent. What if there were other stipulations, for example where nodes will not peer-exchange with a peer that is under X latency, or sharing any octets, or under N number of hops, rejecting signs of being geo-proximal?
Kademlia, Tapestry and other p2p schemes don't really address this as much as one might hope to. I know the practice of maintaining node diversity/non-diversity is there in the industry, but it seems as a practice to have faded out when the last of the good malware and p2p devs retired.
- LanternLight83 4y agoLove this; Another factor could be peer latency.
- aliqot 4y agoYou know anybody looking to flesh it out into an idea?
- nullc 4y agoBitcoin doesn't make outbound connections to multiple hosts sharing a /16 (there is some analogous prefix for IPv6 but I don't recall what it is). If you provide it with a file containing a prefix trie that maps IPs to ASNs (or "enclosing ASN"-- e.g. merging any non-multihomed AS into its parent) then it won't make multiple outbound connections to the same ASN. There was some aspirations at some point of shipping a map file with the software, but I think the people working on that stopped working on Bitcoin. Gold standard would be if you were multihomed yourself, constructing such a map from your own routing tables that collapsed every ASN into its distinct parent such that no outbound peers share a common network at all. (Bitcoin nodes don't make many outbound connections, so this wouldn't be totally crazy). Though that would still be a little approximate because there is no guarantee that interdomain routing is symmetrical.