Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Related: Are there any standards, APIs, best practices for p2p peer discovery?

I found this https://github.com/status-im/bigbrother-specs/blob/master/da... (mentions Gossip and Kademlia) but it is several years old and doesn't contain much info on peer discovery.



Pretty much any bittorrent library implements peer discovery through DHT (global database of who is interested in what hash), PEX (Peer exchange, ie if you and a peer are interested in the same content you can both exchanges other peers each side is connected to)


Check out libp2p, they're fairly mature and has discovery, relays, gossiping etc.


I think this is what Ethereum's gossip network uses.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: