All possible protocols of "ipfs stats bw --proto"?
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
#### Location
> PS E:\ipfs> ipfs stats bw --help
> USAGE
> ipfs stats bw - Print ipfs bandwidth information.
>
> SYNOPSIS
> ipfs stats bw [--peer= | -p] [--proto= | -t] [--poll]
> [--interval= | -i]
>
> OPTIONS
>
> -p, --peer string - Specify a peer to print bandwidth for.
> -t, --proto string - Specify a protocol to print bandwidth for.
> --poll bool - Print bandwidth at an interval.
> -i, --interval string - Time interval to wait between updating output, if 'poll' is true.
> This accepts durations such as "300s", "1.5h" or "2h45m". Valid
> time units are:
> "ns", "us" (or "µs"), "ms", "s", "m", "h".
> Default: 1s.
>
> DESCRIPTION
>
> 'ipfs stats bw' prints bandwidth information for the ipfs daemon.
> It displays: TotalIn, TotalOut, RateIn, RateOut.
>
> By default, overall bandwidth and all protocols are shown. To limit bandwidth
> to a particular peer, use the 'peer' option along with that peer's multihash
> id. To specify a specific protocol, use the 'proto' option. The 'peer' and
> 'proto' options cannot be specified simultaneously. The protocols that are
> queried using this method are outlined in the specification:
> **_https://github.com/libp2p/specs/blob/master/7-properties.md#757-protocol-multicodecs_**
>
> Example protocol options:
> - /ipfs/id/1.0.0
> - /ipfs/bitswap
> - /ipfs/dht
>
> Example:
>
> > ipfs stats bw -t /ipfs/bitswap
> Bandwidth
> TotalIn: 5.0MB
> TotalOut: 0B
> RateIn: 343B/s
> RateOut: 0B/s
> > ipfs stats bw -p QmepgFW7BHEtU4pZJdxaNiv75mKLLRQnPi1KaaXmQN4V1a
> Bandwidth
> TotalIn: 4.9MB
> TotalOut: 12MB
> RateIn: 0B/s
> RateOut: 0B/s
>
>
> PS E:\ipfs>
#### Description
The link above doesn't exists and I find it [**here**](https://github.com/libp2p/specs/blob/fa3cbbfe7802519a6686d774c6c537fb988852b7/_archive/7-properties.md), but it's outdated. What's the all possible arguments for `--proto`?
Contributor guide
Assessment
This issue has not been assessed yet.