3 ms·
How are new nodes discovered or registered?
by eatonphil 11y ago
How are new nodes discovered or registered?
- perfmode 11y agoFor now, there is a default bootstrap list: https://github.com/ipfs/go-ipfs/blob/7fbfecf6fab5920317de2e999e96d3fd145bcecf/repo/config/bootstrap_peers.go#L16 https://github.com/ipfs/go-ipfs/blob/7fbfecf6fab5920317de2e9... When new nodes enter the network, they connect to a subset of this list and use this as a starting point for discovery. After that, queries/operations on the DHT will result in the discovery of other nodes.
- lgierth 11y agoThe bootstrap list isn't hard coded, it's just a default. Here's how to work with the bootstrap list: https://ipfs.io/ipfs/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D/example#/ipfs/QmThrNbvLj7afQZhxH72m5Nn1qiVn3eMKWFYV49Zp2mv9B/bootstrap/readme.md https://ipfs.io/ipfs/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxd... (from ipfs.io/docs/examples)