You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
iroh-p2p
Peer-2-peer commands
USAGE:
iroh p2p <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
SUBCOMMANDS:
connect Connect to a peer
help Print this message or the help of the given subcommand(s)
lookup Retrieve info about a peer
p2p commands all relate to peer-2-peer connectivity. See subcommands for
additional details.
> iroh p2p connect --help
iroh-p2p-connect
Connect to a peer
USAGE:
iroh p2p connect <addr>...
ARGS:
<addr>... Multiaddr or peer ID of a peer to connect to
OPTIONS:
-h, --help Print help information
Attempts to open a new direct connection to a peer address. By default p2p
continulously maintains an open set of peer connections based on requests &
internal hueristics. Connect is useful in situations where it makes sense to
manually force libp2p to dial a known peer. A common example includes when you
know the multiaddr or peer ID of a peer that you would like to exchange data
with.
The address format is in multiaddr format. For example:
> iroh p2p connect /ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
for more info on multiaddrs see https://iroh.computer/docs/concepts#multiaddr
If a peer ID is provided, connect first perform a distribtued hash table (DHT)
lookup to learn the address of the given peer ID before dialing.
> iroh --help
iroh
A next generation IPFS implementation: https://iroh.computer
USAGE:
iroh <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-v, --version print iroh version information
SUBCOMMANDS:
add Add a file to iroh & make it available on IPFS
get Fetch IPFS content and write it to disk
help Print this message or the help of the given subcommand(s)
p2p Peer-2-peer commands
start Start iroh daemon(s)
status Report current status of iroh
stop Stop iroh daemon(s)
Iroh is a next-generation implementation the Interplanetary File System (IPFS).
IPFS is a networking protocol for exchanging content-addressed blocks of
immutable data. 'content-addressed' means referring to data by the hash of it's
content, which makes the reference both unique and verifiable. These two
properties make it possible to get data from any node in the network that speaks
the IPFS protocol, including IPFS content being served by other implementations
of the protocol.
For more info see https://iroh.computer/docs
Tracking issue prepare language engineers can copy-paste into PRs for each command. audit short flags for consistency where possible.
Each command needs:
about
string (short, one line description)after_help
string (long form description of command)Command documentation checklist
iroh
iroh --version #182iroh add
iroh add command #179iroh get
iroh get command #180iroh help
iroh p2p
iroh p2p lookup
iroh p2p lookup command #181iroh p2p connect
iroh start
iroh start command #166iroh stop
iroh stop command #158iroh status
iroh status command #178The text was updated successfully, but these errors were encountered: