From bfd01b57cf70b9d2bf6c23c168eed31614b31227 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Sun, 1 Oct 2017 17:33:35 +0200 Subject: [PATCH 1/2] docs(pnet): add more info about bootstrap License: MIT Signed-off-by: Jakub Sztandera --- docs/experimental-features.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/experimental-features.md b/docs/experimental-features.md index 8ac3b2f22..ad13b9843 100644 --- a/docs/experimental-features.md +++ b/docs/experimental-features.md @@ -185,11 +185,24 @@ When using this feature, you will not be able to connect to the default bootstra nodes (Since we arent part of your private network) so you will need to set up your own bootstrap nodes. -To prevent your node from even trying to connect to the default bootstrap nodes, run: +First, to prevent your node from even trying to connect to the default bootstrap nodes, run: ```bash ipfs bootstrap rm --all ``` +then +```bash +ipfs bootstrap add +``` + +example: +``` +ipfs bootstrap add /ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64 +``` + +Bootstrap nodes are no different from all other nodes in the network apart from +the function they serve. + To be extra cautious, You can also set the `LIBP2P_FORCE_PNET` environment variable to `1` to force the usage of private networks. If no private network is configured, the daemon will fail to start. From c68bf20eaab16f2549950c73e890c90e77104cb8 Mon Sep 17 00:00:00 2001 From: Jeromy Johnson Date: Tue, 3 Oct 2017 17:18:48 +0300 Subject: [PATCH 2/2] Update experimental-features.md --- docs/experimental-features.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/experimental-features.md b/docs/experimental-features.md index ad13b9843..8e03d3038 100644 --- a/docs/experimental-features.md +++ b/docs/experimental-features.md @@ -190,12 +190,12 @@ First, to prevent your node from even trying to connect to the default bootstrap ipfs bootstrap rm --all ``` -then +Then add your own bootstrap peers with: ```bash ipfs bootstrap add ``` -example: +For example: ``` ipfs bootstrap add /ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64 ```