@cryptotaxi247 / kubo / commits / bfd01b57c

docs(pnet): add more info about bootstrap

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Oct 1, 2017 at 17:33 UTC bfd01b57cf70b9d2bf6c23c168eed31614b31227
1 file changed +14 -1
docs/experimental-features.md
+14 -1
@@ -185,11 +185,24 @@ When using this feature, you will not be able to connect to the default bootstra
185 nodes (Since we arent part of your private network) so you will need to set up
186 your own bootstrap nodes.
187
188 -To prevent your node from even trying to connect to the default bootstrap nodes, run:
188 +First, to prevent your node from even trying to connect to the default bootstrap nodes, run:
189 ```bash
190 ipfs bootstrap rm --all
191 ```
192
193 +then
194 +```bash
195 +ipfs bootstrap add <multiaddr>
196 +```
197 +
198 +example:
199 +```
200 +ipfs bootstrap add /ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64
201 +```
202 +
203 +Bootstrap nodes are no different from all other nodes in the network apart from
204 +the function they serve.
205 +
206 To be extra cautious, You can also set the `LIBP2P_FORCE_PNET` environment
207 variable to `1` to force the usage of private networks. If no private network is
208 configured, the daemon will fail to start.