Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add example tests for rad node connect
✗ CI failure Johannes Kühlewindt committed 10 months ago
commit 66b3b93353250571e7742ac10733e8ed933a5d13
parent 09db075fe8d56869ba434e4fa9eaad495756f2ff
1 failed (1 total) View logs
1 file changed +14 -1
modified crates/radicle-cli/examples/rad-node.md
@@ -113,8 +113,21 @@ $ rad node inventory
rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
```

-
Some commands also give us a hint if the node isn't running:
+
We might want to directly connect to a specific node, ie. for private repositories, where routing information is not available on the network:
+

+
```
+
$ rad node connect z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7@iris.radicle.xyz:8776
+
✓ Connecting to z6MkrLM…ocNYPm7@iris.radicle.xyz:8776...
+
```
+

+
Nodes advertise their own external addresses if they are configured to do so. If our node is aware of a public address for a node, we can attempt to connect without explicitly specifying that address:

+
```
+
$ rad node connect z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7
+
✓ Connecting to z6MkrLM…ocNYPm7@iris.radicle.xyz:8776...
+
```
+

+
Some commands also give us a hint if the node isn't running:
``` (fail)
$ rad node events
✗ Error: failed to open node control socket "[..]/.radicle/node/control.sock" (entity not found)