Re:Show HN: Peer-to-Peer data transfer tool based on libp2p
by _nalply on Sunday February 14, 2021 @06:27AM
(#26131433)
So for automatic bootstrap use a hard-coded or generated list of long-lived nodes or a list downloaded from different p2p systems. The hard-coded list could be updated with a new version. Additionally allow manual input of addresses.
[ Parent
| on HN ]
Re:Show HN: Peer-to-Peer data transfer tool based on libp2p
by the8472 on Sunday February 14, 2021 @06:33AM
(#26131476)
Or you defer bootstrap until you have some channel on which you can piggyback.
For example if you download some file then you need to exchange some content-identifying token anyway, a magnet link in bittorrent. That link can also contain a bunch of nodes the source peer knows, preferably the longest-lived ones it knows. Depending on where it's used you could also turn this into a QR-code, NFC peer or whatever.
Practically speaking an implementation will already contain a bootstrap list or might download it from somewhere else on first start. But that's just for convenience.