allmende address: how others can join through a running node (status field 'share')
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -545,8 +545,15 @@ allmende init # create identity, show the 12-w
|
||||
allmende run --region u1x [--bootstrap <addr>] # replicate a region, serve the API on 127.0.0.1:8080
|
||||
allmende run --public [--listen …] # a bootstrap node: DHT server and relay
|
||||
allmende recover # restore from the phrase; also yearly cert renewal
|
||||
allmende address # how others can join through this running node
|
||||
```
|
||||
|
||||
`address` asks the node on `--http` (default 127.0.0.1:8080) for the `share`
|
||||
field of `/api/v1/status`: its addresses reachable from the internet (direct
|
||||
first, then through a relay; none for loopback and private ones) and prints
|
||||
`allmende run --bootstrap <address>`. It lets a person join through any node
|
||||
when the built-in bootstrap name is down.
|
||||
|
||||
`run` also takes `--no-default-bootstrap`, `--no-dht` and `--no-mdns`, and keeps
|
||||
the peers it has met in `peers.json` next to its keys.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user