News for hackers. Stuff that matters.
Re:Show HN: Peer-to-Peer data transfer tool based on libp2p by exdsq on Sunday February 14, 2021 @04:27AM (#26130857)
I work on a decentralised blockchain — the way we bootstrap new nodes onto the network is through a ‘topology’ file which contains peers they want to connect to on launch. This is literally just IP addresses and ports. The file could then be updated by those nodes sharing their topology files on new connections, but we don’t do that.
Re:Show HN: Peer-to-Peer data transfer tool based on libp2p by diggan on Sunday February 14, 2021 @05:06AM (#26131015)
Sounds like you should just use libp2p (which is what IPFS is using for P2P networking) in whatever flavor you're building your blockchain with! At least you still have the same bootstrapping technology you're doing now, but with the added benefit of peers exchanging existing connections when new peers connects :)
Re:Show HN: Peer-to-Peer data transfer tool based on libp2p by exdsq on Sunday February 14, 2021 @05:50AM (#26131221)
I’ll check it out! Fwiw I work on Cardano but higher up the stack than networking, so I’m not 100% sure what happens there except for what I see as a ‘user’ of it.