mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-21 22:31:21 +02:00
Add concrete steps in doc/cjdns.md to easily find a friend
This commit is contained in:
parent
9e32adbb5c
commit
19538dd41e
30
doc/cjdns.md
30
doc/cjdns.md
@ -23,17 +23,37 @@ somewhat centralized. I2P connections have a source address and I2P is slow.
|
|||||||
CJDNS is fast but does not hide the sender and the recipient from intermediate
|
CJDNS is fast but does not hide the sender and the recipient from intermediate
|
||||||
routers.
|
routers.
|
||||||
|
|
||||||
## Installing CJDNS and connecting to the network
|
## Installing CJDNS and finding a peer to connect to the network
|
||||||
|
|
||||||
To install and set up CJDNS, follow the instructions at
|
To install and set up CJDNS, follow the instructions at
|
||||||
https://github.com/cjdelisle/cjdns#cjdns.
|
https://github.com/cjdelisle/cjdns#cjdns.
|
||||||
|
|
||||||
Don't skip steps
|
You need to initiate an outbound connection to a peer on the CJDNS network
|
||||||
|
before it will work with your Bitcoin Core node. This is described in steps
|
||||||
["2. Find a friend"](https://github.com/cjdelisle/cjdns#2-find-a-friend) and
|
["2. Find a friend"](https://github.com/cjdelisle/cjdns#2-find-a-friend) and
|
||||||
["3. Connect your node to your friend's
|
["3. Connect your node to your friend's
|
||||||
node"](https://github.com/cjdelisle/cjdns#3-connect-your-node-to-your-friends-node).
|
node"](https://github.com/cjdelisle/cjdns#3-connect-your-node-to-your-friends-node)
|
||||||
You need to be connected to the CJDNS network before it will work with your
|
in the CJDNS documentation.
|
||||||
Bitcoin Core node.
|
|
||||||
|
One quick way to accomplish these two steps is to query for available public
|
||||||
|
peers on [Hyperboria](https://github.com/hyperboria) by running the following:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/hyperboria/peers hyperboria-peers
|
||||||
|
cd hyperboria-peers
|
||||||
|
./testAvailable.py
|
||||||
|
```
|
||||||
|
|
||||||
|
For each peer, the `./testAvailable.py` script prints the filename of the peer's
|
||||||
|
credentials followed by the ping result.
|
||||||
|
|
||||||
|
Choose one or several peers, copy their credentials from their respective files,
|
||||||
|
paste them into the relevant IPv4 or IPv6 "connectTo" JSON object in the
|
||||||
|
`cjdroute.conf` file you created in step ["1. Generate a new configuration
|
||||||
|
file"](https://github.com/cjdelisle/cjdns#1-generate-a-new-configuration-file),
|
||||||
|
and save the file.
|
||||||
|
|
||||||
|
## Launching CJDNS
|
||||||
|
|
||||||
Typically, CJDNS might be launched from its directory with
|
Typically, CJDNS might be launched from its directory with
|
||||||
`sudo ./cjdroute < cjdroute.conf` and it sheds permissions after setting up the
|
`sudo ./cjdroute < cjdroute.conf` and it sheds permissions after setting up the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user