Remove dependency to archived quic and regenerate CLI docs

The quic transport implementation is now moved to `go-libp2p` mono repo.
Replace the dependency to the archived repo with the new one.

Regenerate CLI docs.
This commit is contained in:
Masih H. Derkani 2022-06-29 16:17:48 +01:00 committed by Aayush
parent 39a710e1d6
commit e8c44babcf
7 changed files with 163 additions and 322 deletions

View File

@ -43,13 +43,14 @@ COMMANDS:
GLOBAL OPTIONS:
--actor value, -a value specify other actor to query / manipulate
--color use color in display output (default: depends on output being a TTY)
--miner-repo value, --storagerepo value Specify miner repo path. flag(storagerepo) and env(LOTUS_STORAGE_PATH) are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH]
--markets-repo value Markets repo path [$LOTUS_MARKETS_PATH]
--call-on-markets (experimental; may be removed) call this command against a markets node; use only with common commands like net, auth, pprof, etc. whose target may be ambiguous (default: false)
--vv enables very verbose mode, useful for debugging the CLI (default: false)
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--markets-repo value Markets repo path [$LOTUS_MARKETS_PATH]
--miner-repo value, --storagerepo value Specify miner repo path. flag(storagerepo) and env(LOTUS_STORAGE_PATH) are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH]
--version, -v print the version (default: false)
--vv enables very verbose mode, useful for debugging the CLI (default: false)
```
## lotus-miner init
@ -71,7 +72,7 @@ OPTIONS:
--worker value, -w value worker key to use (overrides --create-worker-key)
--owner value, -o value owner key to use
--sector-size value specify sector size to use (default: "32GiB")
--pre-sealed-sectors value specify set of presealed sectors for starting as a genesis miner
--pre-sealed-sectors value specify set of presealed sectors for starting as a genesis miner (accepts multiple inputs)
--pre-sealed-metadata value specify the metadata file for the presealed sectors
--nosync don't check full-node sync status (default: false)
--symlink-imported-sectors attempt to symlink to presealed sectors instead of copying them into place (default: false)
@ -91,10 +92,9 @@ USAGE:
lotus-miner init restore [command options] [backupFile]
OPTIONS:
--nosync don't check full-node sync status (default: false)
--config value config file (config.toml)
--nosync don't check full-node sync status (default: false)
--storage-config value storage paths config (storage.json)
--help, -h show help (default: false)
```
@ -107,12 +107,11 @@ USAGE:
lotus-miner init service [command options] [backupFile]
OPTIONS:
--config value config file (config.toml)
--nosync don't check full-node sync status (default: false)
--type value type of service to be enabled
--api-sealer value sealer API info (lotus-miner auth api-info --perm=admin)
--api-sector-index value sector Index API info (lotus-miner auth api-info --perm=admin)
--help, -h show help (default: false)
--config value config file (config.toml)
--nosync don't check full-node sync status (default: false)
--type value type of service to be enabled (accepts multiple inputs)
```
@ -125,11 +124,10 @@ USAGE:
lotus-miner run [command options] [arguments...]
OPTIONS:
--miner-api value 2345
--enable-gpu-proving enable use of GPU for mining operations (default: true)
--nosync don't check full-node sync status (default: false)
--manage-fdlimit manage open file limit (default: true)
--help, -h show help (default: false)
--miner-api value 2345
--nosync don't check full-node sync status (default: false)
```
@ -174,7 +172,6 @@ USAGE:
OPTIONS:
--no-comment don't comment default values (default: false)
--help, -h show help (default: false)
```
@ -188,7 +185,6 @@ USAGE:
OPTIONS:
--no-comment don't comment default values (default: false)
--help, -h show help (default: false)
```
@ -209,8 +205,7 @@ DESCRIPTION:
this command must be within this base path
OPTIONS:
--offline create backup without the node running (default: false)
--help, -h show help (default: false)
--offline create backup without the node running (default: false)
```
@ -266,7 +261,6 @@ USAGE:
OPTIONS:
--confidence value number of block confirmations to wait for (default: 5)
--help, -h show help (default: false)
```
@ -280,7 +274,6 @@ USAGE:
OPTIONS:
--from value optionally specify the account to send funds from
--help, -h show help (default: false)
```
@ -294,7 +287,6 @@ USAGE:
OPTIONS:
--gas-limit value set gas limit (default: 0)
--help, -h show help (default: false)
```
@ -308,7 +300,6 @@ USAGE:
OPTIONS:
--really-do-it Actually send transaction performing the action (default: false)
--help, -h show help (default: false)
```
@ -339,9 +330,8 @@ USAGE:
lotus-miner actor control list [command options] [arguments...]
OPTIONS:
--verbose (default: false)
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
--verbose (default: false)
```
@ -355,7 +345,6 @@ USAGE:
OPTIONS:
--really-do-it Actually send transaction performing the action (default: false)
--help, -h show help (default: false)
```
@ -369,7 +358,6 @@ USAGE:
OPTIONS:
--really-do-it Actually send transaction performing the action (default: false)
--help, -h show help (default: false)
```
@ -383,7 +371,6 @@ USAGE:
OPTIONS:
--really-do-it Actually send transaction performing the action (default: false)
--help, -h show help (default: false)
```
@ -399,7 +386,6 @@ OPTIONS:
--mask-last-offset value Mask sector IDs from 0 to 'higest_allocated - offset' (default: 0)
--mask-upto-n value Mask sector IDs from 0 to 'n' (default: 0)
--really-do-it Actually send transaction performing the action (default: false)
--help, -h show help (default: false)
```
@ -463,7 +449,6 @@ USAGE:
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
--help, -h show help (default: false)
```
@ -477,7 +462,6 @@ USAGE:
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
--help, -h show help (default: false)
```
@ -541,8 +525,7 @@ DESCRIPTION:
GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr
OPTIONS:
--system value limit to log system
--help, -h show help (default: false)
--system value limit to log system (accepts multiple inputs)
```
@ -555,8 +538,7 @@ USAGE:
lotus-miner log alerts [command options] [arguments...]
OPTIONS:
--all get all (active and inactive) alerts (default: false)
--help, -h show help (default: false)
--all get all (active and inactive) alerts (default: false)
```
@ -573,7 +555,6 @@ CATEGORY:
OPTIONS:
--timeout value duration to wait till fail (default: 30s)
--help, -h show help (default: false)
```
@ -645,7 +626,6 @@ OPTIONS:
--format value output format of data, supported: table, json (default: "table")
--verbose, -v (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
--help, -h show help (default: false)
```
@ -703,11 +683,10 @@ USAGE:
lotus-miner storage-deals selection reject [command options] [arguments...]
OPTIONS:
--online (default: false)
--offline (default: false)
--verified (default: false)
--online (default: false)
--unverified (default: false)
--help, -h show help (default: false)
--verified (default: false)
```
@ -720,11 +699,10 @@ USAGE:
lotus-miner storage-deals set-ask [command options] [arguments...]
OPTIONS:
--max-piece-size SIZE Set maximum piece size (w/bit-padding, in bytes) in ask to SIZE (default: miner sector size)
--min-piece-size SIZE Set minimum piece size (w/bit-padding, in bytes) in ask to SIZE (default: 256B)
--price PRICE Set the price of the ask for unverified deals (specified as FIL / GiB / Epoch) to PRICE.
--verified-price PRICE Set the price of the ask for verified deals (specified as FIL / GiB / Epoch) to PRICE
--min-piece-size SIZE Set minimum piece size (w/bit-padding, in bytes) in ask to SIZE (default: 256B)
--max-piece-size SIZE Set maximum piece size (w/bit-padding, in bytes) in ask to SIZE (default: miner sector size)
--help, -h show help (default: false)
```
@ -763,7 +741,6 @@ USAGE:
lotus-miner storage-deals get-blocklist [command options] [arguments...]
OPTIONS:
--help, -h show help (default: false)
```
@ -803,7 +780,6 @@ USAGE:
OPTIONS:
--publish-now send a publish message now (default: false)
--help, -h show help (default: false)
```
@ -894,9 +870,8 @@ USAGE:
lotus-miner retrieval-deals selection reject [command options] [arguments...]
OPTIONS:
--online (default: false)
--offline (default: false)
--help, -h show help (default: false)
--offline (default: false)
--online (default: false)
```
@ -922,11 +897,10 @@ USAGE:
lotus-miner retrieval-deals set-ask [command options] [arguments...]
OPTIONS:
--price value Set the price of the ask for retrievals (FIL/GiB)
--unseal-price value Set the price to unseal
--payment-interval value Set the payment interval (in bytes) for retrieval (default: 1MiB)
--payment-interval-increase value Set the payment interval increase (in bytes) for retrieval (default: 1MiB)
--help, -h show help (default: false)
--price value Set the price of the ask for retrievals (FIL/GiB)
--unseal-price value Set the price to unseal
```
@ -972,12 +946,11 @@ USAGE:
lotus-miner data-transfers list [command options] [arguments...]
OPTIONS:
--verbose, -v print verbose transfer details (default: false)
--color use color in display output (default: depends on output being a TTY)
--completed show completed data transfers (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
--show-failed show failed/cancelled transfers (default: false)
--help, -h show help (default: false)
--verbose, -v print verbose transfer details (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
```
@ -990,9 +963,8 @@ USAGE:
lotus-miner data-transfers restart [command options] [arguments...]
OPTIONS:
--peerid value narrow to transfer with specific peer
--initiator specify only transfers where peer is/is not initiator (default: false)
--help, -h show help (default: false)
--peerid value narrow to transfer with specific peer
```
@ -1005,10 +977,9 @@ USAGE:
lotus-miner data-transfers cancel [command options] [arguments...]
OPTIONS:
--peerid value narrow to transfer with specific peer
--initiator specify only transfers where peer is/is not initiator (default: false)
--cancel-timeout value time to wait for cancel to be sent to client (default: 5s)
--help, -h show help (default: false)
--initiator specify only transfers where peer is/is not initiator (default: false)
--peerid value narrow to transfer with specific peer
```
@ -1057,8 +1028,7 @@ USAGE:
lotus-miner dagstore list-shards [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1071,8 +1041,7 @@ USAGE:
lotus-miner dagstore register-shard [command options] [key]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1085,8 +1054,7 @@ USAGE:
lotus-miner dagstore initialize-shard [command options] [key]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1099,8 +1067,7 @@ USAGE:
lotus-miner dagstore recover-shard [command options] [key]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1113,10 +1080,9 @@ USAGE:
lotus-miner dagstore initialize-all [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--concurrency value maximum shards to initialize concurrently at a time; use 0 for unlimited (default: 0)
--include-sealed initialize sealed pieces as well (default: false)
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
```
@ -1129,8 +1095,7 @@ USAGE:
lotus-miner dagstore gc [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1143,8 +1108,7 @@ USAGE:
lotus-miner dagstore lookup-pieces [command options] <cid>
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1175,8 +1139,7 @@ USAGE:
lotus-miner index announce [command options] <deal proposal cid>
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1189,8 +1152,7 @@ USAGE:
lotus-miner index announce-all [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -1236,7 +1198,6 @@ USAGE:
OPTIONS:
--agent, -a Print agent name (default: false)
--extended, -x Print extended peer information in json (default: false)
--help, -h show help (default: false)
```
@ -1251,7 +1212,6 @@ USAGE:
OPTIONS:
--count value, -c value specify the number of times it should ping (default: 10)
--interval value, -i value minimum time between pings (default: 1s)
--help, -h show help (default: false)
```
@ -1308,7 +1268,6 @@ USAGE:
OPTIONS:
--extended, -x print extended peer scores in json (default: false)
--help, -h show help (default: false)
```
@ -1336,7 +1295,6 @@ USAGE:
OPTIONS:
--by-peer list bandwidth usage by peer (default: false)
--by-protocol list bandwidth usage by protocol (default: false)
--help, -h show help (default: false)
```
@ -1508,8 +1466,7 @@ DESCRIPTION:
- all -- reports the resource usage for all currently active scopes.
OPTIONS:
--json (default: false)
--help, -h show help (default: false)
--json (default: false)
```
@ -1534,8 +1491,7 @@ DESCRIPTION:
The limit is json-formatted, with the same structure as the limits file.
OPTIONS:
--set set the limit for a scope (default: false)
--help, -h show help (default: false)
--set set the limit for a scope (default: false)
```
@ -1624,7 +1580,6 @@ USAGE:
OPTIONS:
--verbose, -v (default: false)
--help, -h show help (default: false)
```
@ -1703,7 +1658,6 @@ OPTIONS:
--on-chain-info, -c show sector on chain info (default: false)
--partition-info, -p show partition related info (default: false)
--proof print snark proof bytes as hex (default: false)
--help, -h show help (default: false)
```
@ -1716,15 +1670,14 @@ USAGE:
lotus-miner sectors list [command options] [arguments...]
OPTIONS:
--show-removed, -r show removed sectors (default: false)
--color, -c use color in display output (default: depends on output being a TTY)
--fast, -f don't show on-chain info for better performance (default: false)
--events, -e display number of events the sector has received (default: false)
--fast, -f don't show on-chain info for better performance (default: false)
--initial-pledge, -p display initial pledge (default: false)
--seal-time, -t display how long it took for the sector to be sealed (default: false)
--show-removed, -r show removed sectors (default: false)
--states value filter sectors by a comma-separated list of states
--unproven, -u only show sectors which aren't in the 'Proving' state (default: false)
--help, -h show help (default: false)
```
@ -1751,7 +1704,6 @@ USAGE:
OPTIONS:
--really-do-it pass this flag if you know what you are doing (default: false)
--help, -h show help (default: false)
```
@ -1791,7 +1743,6 @@ USAGE:
OPTIONS:
--cutoff value skip sectors whose current expiration is more than <cutoff> epochs from now, defaults to 60 days (default: 172800)
--help, -h show help (default: false)
```
@ -1804,10 +1755,9 @@ USAGE:
lotus-miner sectors expired [command options] [arguments...]
OPTIONS:
--show-removed show removed sectors (default: false)
--remove-expired remove expired sectors (default: false)
--expired-epoch value epoch at which to check sector expirations (default: WinningPoSt lookback epoch)
--help, -h show help (default: false)
--remove-expired remove expired sectors (default: false)
--show-removed show removed sectors (default: false)
```
@ -1820,16 +1770,15 @@ USAGE:
lotus-miner sectors renew [command options] [arguments...]
OPTIONS:
--from value only consider sectors whose current expiration epoch is in the range of [from, to], <from> defaults to: now + 120 (1 hour) (default: 0)
--to value only consider sectors whose current expiration epoch is in the range of [from, to], <to> defaults to: now + 92160 (32 days) (default: 0)
--sector-file value provide a file containing one sector number in each line, ignoring above selecting criteria
--exclude value optionally provide a file containing excluding sectors
--extension value try to extend selected sectors by this number of epochs, defaults to 540 days (default: 1555200)
--new-expiration value try to extend selected sectors to this epoch, ignoring extension (default: 0)
--tolerance value don't try to extend sectors by fewer than this number of epochs, defaults to 7 days (default: 20160)
--from value only consider sectors whose current expiration epoch is in the range of [from, to], <from> defaults to: now + 120 (1 hour) (default: 0)
--max-fee value use up to this amount of FIL for one message. pass this flag to avoid message congestion. (default: "0")
--new-expiration value try to extend selected sectors to this epoch, ignoring extension (default: 0)
--really-do-it pass this flag to really renew sectors, otherwise will only print out json representation of parameters (default: false)
--help, -h show help (default: false)
--sector-file value provide a file containing one sector number in each line, ignoring above selecting criteria
--to value only consider sectors whose current expiration epoch is in the range of [from, to], <to> defaults to: now + 92160 (32 days) (default: 0)
--tolerance value don't try to extend sectors by fewer than this number of epochs, defaults to 7 days (default: 20160)
```
@ -1842,13 +1791,12 @@ USAGE:
lotus-miner sectors extend [command options] <sectorNumbers...>
OPTIONS:
--new-expiration value new expiration epoch (default: 0)
--v1-sectors renews all v1 sectors up to the maximum possible lifetime (default: false)
--tolerance value when extending v1 sectors, don't try to extend sectors by fewer than this number of epochs (default: 20160)
--expiration-ignore value when extending v1 sectors, skip sectors whose current expiration is less than <ignore> epochs from now (default: 120)
--expiration-cutoff value when extending v1 sectors, skip sectors whose current expiration is more than <cutoff> epochs from now (infinity if unspecified) (default: 0)
--help, -h show help (default: false)
--expiration-cutoff value when extending v1 sectors, skip sectors whose current expiration is more than <cutoff> epochs from now (infinity if unspecified) (default: 0)
--expiration-ignore value when extending v1 sectors, skip sectors whose current expiration is less than <ignore> epochs from now (default: 120)
--new-expiration value new expiration epoch (default: 0)
--tolerance value when extending v1 sectors, don't try to extend sectors by fewer than this number of epochs (default: 20160)
--v1-sectors renews all v1 sectors up to the maximum possible lifetime (default: false)
```
@ -1907,7 +1855,6 @@ USAGE:
OPTIONS:
--really-do-it pass this flag if you know what you are doing (default: false)
--help, -h show help (default: false)
```
@ -1934,7 +1881,6 @@ USAGE:
OPTIONS:
--really-do-it pass this flag if you know what you are doing (default: false)
--help, -h show help (default: false)
```
@ -1974,7 +1920,6 @@ USAGE:
OPTIONS:
--expiration value the epoch when the sector will expire (default: 0)
--help, -h show help (default: false)
```
@ -2006,7 +1951,6 @@ USAGE:
OPTIONS:
--publish-now send a batch now (default: false)
--help, -h show help (default: false)
```
@ -2020,7 +1964,6 @@ USAGE:
OPTIONS:
--publish-now send a batch now (default: false)
--help, -h show help (default: false)
```
@ -2046,11 +1989,10 @@ USAGE:
lotus-miner sectors compact-partitions [command options] [arguments...]
OPTIONS:
--deadline value the deadline to compact the partitions in (default: 0)
--partitions value list of partitions to compact sectors in
--really-do-it Actually send transaction performing the action (default: false)
--actor value Specify the address of the miner to run this command
--help, -h show help (default: false)
--deadline value the deadline to compact the partitions in (default: 0)
--partitions value list of partitions to compact sectors in (accepts multiple inputs)
--really-do-it Actually send transaction performing the action (default: false)
```
@ -2138,11 +2080,10 @@ USAGE:
lotus-miner proving check [command options] <deadlineIdx>
OPTIONS:
--faulty only check faulty sectors (default: false)
--only-bad print only bad sectors (default: false)
--slow run slower checks (default: false)
--storage-id value filter sectors by storage path (path id)
--faulty only check faulty sectors (default: false)
--help, -h show help (default: false)
```
@ -2155,8 +2096,7 @@ USAGE:
lotus-miner proving workers [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -2237,14 +2177,13 @@ DESCRIPTION:
over time
OPTIONS:
--allow-to value path groups allowed to pull data from this path (allow all if not specified) (accepts multiple inputs)
--groups value path group names (accepts multiple inputs)
--init initialize the path first (default: false)
--weight value (for init) path weight (default: 10)
--max-storage value (for init) limit storage space for sectors (expensive for very large paths!)
--seal (for init) use path for sealing (default: false)
--store (for init) use path for long-term storage (default: false)
--max-storage value (for init) limit storage space for sectors (expensive for very large paths!)
--groups value path group names
--allow-to value path groups allowed to pull data from this path (allow all if not specified)
--help, -h show help (default: false)
--weight value (for init) path weight (default: 10)
```
@ -2275,8 +2214,7 @@ USAGE:
lotus-miner storage list sectors [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -2302,8 +2240,7 @@ USAGE:
lotus-miner storage cleanup [command options] [arguments...]
OPTIONS:
--removed cleanup remaining files from removed sectors (default: true)
--help, -h show help (default: false)
--removed cleanup remaining files from removed sectors (default: true)
```
@ -2352,7 +2289,6 @@ USAGE:
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--show-ret-done show returned but not consumed calls (default: false)
--help, -h show help (default: false)
```
@ -2365,8 +2301,7 @@ USAGE:
lotus-miner sealing workers [command options] [arguments...]
OPTIONS:
--color use color in display output (default: depends on output being a TTY)
--help, -h show help (default: false)
--color use color in display output (default: depends on output being a TTY)
```
@ -2380,7 +2315,6 @@ USAGE:
OPTIONS:
--force-sched (default: false)
--help, -h show help (default: false)
```
@ -2407,6 +2341,5 @@ USAGE:
OPTIONS:
--file-size value real file size (default: 0)
--help, -h show help (default: false)
```

View File

@ -20,11 +20,12 @@ COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--worker-repo value, --workerrepo value Specify worker repo path. flag workerrepo and env WORKER_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusworker") [$LOTUS_WORKER_PATH, $WORKER_PATH]
--miner-repo value, --storagerepo value Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH]
--enable-gpu-proving enable use of GPU for mining operations (default: true)
--help, -h show help (default: false)
--miner-repo value, --storagerepo value Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH]
--version, -v print the version (default: false)
--worker-repo value, --workerrepo value Specify worker repo path. flag workerrepo and env WORKER_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusworker") [$LOTUS_WORKER_PATH, $WORKER_PATH]
```
## lotus-worker run
@ -36,25 +37,24 @@ USAGE:
lotus-worker run [command options] [arguments...]
OPTIONS:
--addpiece enable addpiece (default: true)
--commit enable commit (32G sectors: all cores or GPUs, 128GiB Memory + 64GiB swap) (default: true)
--listen value host address and port the worker api will listen on (default: "0.0.0.0:3456")
--no-default disable all default compute tasks, use the worker for storage/fetching only (default: false)
--no-local-storage don't use storageminer repo for sector storage (default: false)
--no-swap don't use swap (default: false)
--addpiece enable addpiece (default: true)
--precommit1 enable precommit1 (32G sectors: 1 core, 128GiB Memory) (default: true)
--unseal enable unsealing (32G sectors: 1 core, 128GiB Memory) (default: true)
--precommit2 enable precommit2 (32G sectors: all cores, 96GiB Memory) (default: true)
--commit enable commit (32G sectors: all cores or GPUs, 128GiB Memory + 64GiB swap) (default: true)
--replica-update enable replica update (default: true)
--prove-replica-update2 enable prove replica update 2 (default: true)
--regen-sector-key enable regen sector key (default: true)
--windowpost enable window post (default: false)
--winningpost enable winning post (default: false)
--no-default disable all default compute tasks, use the worker for storage/fetching only (default: false)
--parallel-fetch-limit value maximum fetch operations to run in parallel (default: 5)
--post-parallel-reads value maximum number of parallel challenge reads (0 = no limit) (default: 128)
--post-read-timeout value time limit for reading PoSt challenges (0 = no limit) (default: 0s)
--precommit1 enable precommit1 (32G sectors: 1 core, 128GiB Memory) (default: true)
--precommit2 enable precommit2 (32G sectors: all cores, 96GiB Memory) (default: true)
--prove-replica-update2 enable prove replica update 2 (default: true)
--regen-sector-key enable regen sector key (default: true)
--replica-update enable replica update (default: true)
--timeout value used when 'listen' is unspecified. must be a valid duration recognized by golang's time.ParseDuration function (default: "30m")
--help, -h show help (default: false)
--unseal enable unsealing (32G sectors: 1 core, 128GiB Memory) (default: true)
--windowpost enable window post (default: false)
--winningpost enable winning post (default: false)
```
@ -97,14 +97,13 @@ USAGE:
lotus-worker storage attach [command options] [arguments...]
OPTIONS:
--allow-to value path groups allowed to pull data from this path (allow all if not specified) (accepts multiple inputs)
--groups value path group names (accepts multiple inputs)
--init initialize the path first (default: false)
--weight value (for init) path weight (default: 10)
--max-storage value (for init) limit storage space for sectors (expensive for very large paths!)
--seal (for init) use path for sealing (default: false)
--store (for init) use path for long-term storage (default: false)
--max-storage value (for init) limit storage space for sectors (expensive for very large paths!)
--groups value path group names
--allow-to value path groups allowed to pull data from this path (allow all if not specified)
--help, -h show help (default: false)
--weight value (for init) path weight (default: 10)
```
@ -117,8 +116,7 @@ USAGE:
lotus-worker set [command options] [arguments...]
OPTIONS:
--enabled enable/disable new task processing (default: true)
--help, -h show help (default: false)
--enabled enable/disable new task processing (default: true)
```
@ -144,9 +142,8 @@ USAGE:
lotus-worker resources [command options] [arguments...]
OPTIONS:
--all print all resource envvars (default: false)
--default print default resource envvars (default: false)
--help, -h show help (default: false)
--all print all resource envvars (default: false)
--default print default resource envvars (default: false)
```

View File

@ -37,11 +37,12 @@ COMMANDS:
status Check node status
GLOBAL OPTIONS:
--interactive setting to false will disable interactive functionality of commands (default: false)
--force-send if true, will ignore pre-send checks (default: false)
--vv enables very verbose mode, useful for debugging the CLI (default: false)
--help, -h show help (default: false)
--interactive setting to false will disable interactive functionality of commands (default: false)
--version, -v print the version (default: false)
--vv enables very verbose mode, useful for debugging the CLI (default: false)
```
## lotus daemon
@ -105,8 +106,7 @@ DESCRIPTION:
this command must be within this base path
OPTIONS:
--offline create backup without the node running (default: false)
--help, -h show help (default: false)
--offline create backup without the node running (default: false)
```
@ -138,7 +138,6 @@ USAGE:
OPTIONS:
--no-comment don't comment default values (default: false)
--help, -h show help (default: false)
```
@ -152,7 +151,6 @@ USAGE:
OPTIONS:
--no-comment don't comment default values (default: false)
--help, -h show help (default: false)
```
@ -181,16 +179,15 @@ CATEGORY:
BASIC
OPTIONS:
--force Deprecated: use global 'force-send' (default: false)
--from value optionally specify the account to send funds from
--gas-premium value specify gas price to use in AttoFIL (default: "0")
--gas-feecap value specify gas fee cap to use in AttoFIL (default: "0")
--gas-limit value specify gas limit (default: 0)
--nonce value specify the nonce to use (default: 0)
--gas-premium value specify gas price to use in AttoFIL (default: "0")
--method value specify method to invoke (default: 0)
--params-json value specify invocation parameters in json
--nonce value specify the nonce to use (default: 0)
--params-hex value specify invocation parameters in hex
--force Deprecated: use global 'force-send' (default: false)
--help, -h show help (default: false)
--params-json value specify invocation parameters in json
```
@ -246,7 +243,6 @@ OPTIONS:
--addr-only, -a Only print addresses (default: false)
--id, -i Output ID addresses (default: false)
--market, -m Output market balances (default: false)
--help, -h show help (default: false)
```
@ -285,9 +281,8 @@ USAGE:
lotus wallet import [command options] [<path> (optional, will read from stdin if omitted)]
OPTIONS:
--format value specify input format for key (default: "hex-lotus")
--as-default import the given key as your new default key (default: false)
--help, -h show help (default: false)
--format value specify input format for key (default: "hex-lotus")
```
@ -383,10 +378,9 @@ USAGE:
lotus wallet market withdraw [command options] [amount (FIL) optional, otherwise will withdraw max available]
OPTIONS:
--wallet value, -w value Specify address to withdraw funds to, otherwise it will use the default wallet address
--address value, -a value Market address to withdraw from (account or miner actor address, defaults to --wallet address)
--confidence value number of block confirmations to wait for (default: 5)
--help, -h show help (default: false)
--wallet value, -w value Specify address to withdraw funds to, otherwise it will use the default wallet address
```
@ -399,9 +393,8 @@ USAGE:
lotus wallet market add [command options] <amount>
OPTIONS:
--from value, -f value Specify address to move funds from, otherwise it will use the default wallet address
--address value, -a value Market address to move funds to (account or miner actor address, defaults to --from address)
--help, -h show help (default: false)
--from value, -f value Specify address to move funds from, otherwise it will use the default wallet address
```
@ -463,7 +456,6 @@ CATEGORY:
OPTIONS:
--car import from a car file instead of a regular file (default: false)
--quiet, -q Output root CID only (default: false)
--help, -h show help (default: false)
```
@ -495,7 +487,6 @@ CATEGORY:
DATA
OPTIONS:
--help, -h show help (default: false)
```
@ -528,7 +519,6 @@ CATEGORY:
OPTIONS:
--pieceCid value require data to be retrieved from a specific Piece CID
--help, -h show help (default: false)
```
@ -545,7 +535,6 @@ CATEGORY:
OPTIONS:
--size value data size in bytes (default: 0)
--help, -h show help (default: false)
```
@ -594,15 +583,14 @@ DESCRIPTION:
$ lotus client retrieve --data-selector /Links/0/Hash Qm... my-file.txt
OPTIONS:
--allow-local (default: false)
--car Export to a car file instead of a regular file (default: false)
--data-selector value, --datamodel-path-selector value IPLD datamodel text-path selector, or IPLD json selector
--car-export-merkle-proof (requires --data-selector and --car) Export data-selector merkle proof (default: false)
--data-selector value, --datamodel-path-selector value IPLD datamodel text-path selector, or IPLD json selector
--from value address to send transactions from
--provider value, --miner value provider to use for retrieval, if not present it'll use local discovery
--maxPrice value maximum price the client is willing to consider (default: 0 FIL)
--pieceCid value require data to be retrieved from a specific Piece CID
--allow-local (default: false)
--help, -h show help (default: false)
--provider value, --miner value provider to use for retrieval, if not present it'll use local discovery
```
@ -618,14 +606,13 @@ CATEGORY:
RETRIEVAL
OPTIONS:
--ipld list IPLD datamodel links (default: false)
--allow-local (default: false)
--data-selector value IPLD datamodel text-path selector, or IPLD json selector
--from value address to send transactions from
--provider value, --miner value provider to use for retrieval, if not present it'll use local discovery
--ipld list IPLD datamodel links (default: false)
--maxPrice value maximum price the client is willing to consider (default: 0 FIL)
--pieceCid value require data to be retrieved from a specific Piece CID
--allow-local (default: false)
--help, -h show help (default: false)
--provider value, --miner value provider to use for retrieval, if not present it'll use local discovery
```
@ -641,15 +628,14 @@ CATEGORY:
RETRIEVAL
OPTIONS:
--ipld list IPLD datamodel links (default: false)
--depth value list links recursively up to the specified depth (default: 1)
--allow-local (default: false)
--data-selector value IPLD datamodel text-path selector, or IPLD json selector
--depth value list links recursively up to the specified depth (default: 1)
--from value address to send transactions from
--provider value, --miner value provider to use for retrieval, if not present it'll use local discovery
--ipld list IPLD datamodel links (default: false)
--maxPrice value maximum price the client is willing to consider (default: 0 FIL)
--pieceCid value require data to be retrieved from a specific Piece CID
--allow-local (default: false)
--help, -h show help (default: false)
--provider value, --miner value provider to use for retrieval, if not present it'll use local discovery
```
@ -666,7 +652,6 @@ CATEGORY:
OPTIONS:
--deal-id value specify retrieval deal by deal ID (default: 0)
--help, -h show help (default: false)
```
@ -682,12 +667,11 @@ CATEGORY:
RETRIEVAL
OPTIONS:
--verbose, -v print verbose deal details (default: false)
--color use color in display output (default: depends on output being a TTY)
--show-failed show failed/failing deals (default: true)
--completed show completed retrievals (default: false)
--show-failed show failed/failing deals (default: true)
--verbose, -v print verbose deal details (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
--help, -h show help (default: false)
```
@ -713,15 +697,14 @@ DESCRIPTION:
The minimum value is 518400 (6 months).
OPTIONS:
--fast-retrieval indicates that data should be available for fast retrieval (default: true)
--from value specify address to fund the deal with
--manual-piece-cid value manually specify piece commitment for data (dataCid must be to a car file)
--manual-piece-size value if manually specifying piece cid, used to specify size (dataCid must be to a car file) (default: 0)
--manual-stateless-deal instructs the node to send an offline deal without registering it with the deallist/fsm (default: false)
--from value specify address to fund the deal with
--start-epoch value specify the epoch that the deal should start at (default: -1)
--fast-retrieval indicates that data should be available for fast retrieval (default: true)
--verified-deal indicate that the deal counts towards verified client total (default: true if client is verified, false otherwise)
--provider-collateral value specify the requested provider collateral the miner should put up
--help, -h show help (default: false)
--start-epoch value specify the epoch that the deal should start at (default: -1)
--verified-deal indicate that the deal counts towards verified client total (default: true if client is verified, false otherwise)
```
@ -737,10 +720,9 @@ CATEGORY:
STORAGE
OPTIONS:
--duration value deal duration (default: 0)
--peerid value specify peer ID of node to make query against
--size value data size in bytes (default: 0)
--duration value deal duration (default: 0)
--help, -h show help (default: false)
```
@ -756,11 +738,10 @@ CATEGORY:
STORAGE
OPTIONS:
--verbose, -v print verbose deal details (default: false)
--color use color in display output (default: depends on output being a TTY)
--show-failed show failed/failing deals (default: false)
--verbose, -v print verbose deal details (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
--help, -h show help (default: false)
```
@ -795,7 +776,6 @@ OPTIONS:
--by-ping sort by ping (default: false)
--output-format value Either 'text' or 'csv' (default: "text")
--protocols Output supported deal protocols (default: false)
--help, -h show help (default: false)
```
@ -812,7 +792,6 @@ CATEGORY:
OPTIONS:
--newer-than value (default: 0s)
--help, -h show help (default: false)
```
@ -830,7 +809,6 @@ CATEGORY:
OPTIONS:
--deal-id value (default: 0)
--proposal-cid value
--help, -h show help (default: false)
```
@ -846,7 +824,6 @@ CATEGORY:
UTIL
OPTIONS:
--help, -h show help (default: false)
```
@ -879,7 +856,6 @@ CATEGORY:
OPTIONS:
--client value specify storage client address
--help, -h show help (default: false)
```
@ -895,12 +871,11 @@ CATEGORY:
UTIL
OPTIONS:
--verbose, -v print verbose transfer details (default: false)
--color use color in display output (default: depends on output being a TTY)
--completed show completed data transfers (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
--show-failed show failed/cancelled transfers (default: false)
--help, -h show help (default: false)
--verbose, -v print verbose transfer details (default: false)
--watch watch deal updates in real-time, rather than a one time list (default: false)
```
@ -916,9 +891,8 @@ CATEGORY:
UTIL
OPTIONS:
--peerid value narrow to transfer with specific peer
--initiator specify only transfers where peer is/is not initiator (default: true)
--help, -h show help (default: false)
--peerid value narrow to transfer with specific peer
```
@ -934,10 +908,9 @@ CATEGORY:
UTIL
OPTIONS:
--peerid value narrow to transfer with specific peer
--initiator specify only transfers where peer is/is not initiator (default: true)
--cancel-timeout value time to wait for cancel to be sent to storage provider (default: 5s)
--help, -h show help (default: false)
--initiator specify only transfers where peer is/is not initiator (default: true)
--peerid value narrow to transfer with specific peer
```
@ -984,11 +957,10 @@ USAGE:
lotus msig create [command options] [address1 address2 ...]
OPTIONS:
--required value number of required approvals (uses number of signers provided if omitted) (default: 0)
--value value initial funds to give to multisig (default: "0")
--duration value length of the period over which funds unlock (default: "0")
--from value account to send the create message from
--help, -h show help (default: false)
--required value number of required approvals (uses number of signers provided if omitted) (default: 0)
--value value initial funds to give to multisig (default: "0")
```
@ -1001,9 +973,8 @@ USAGE:
lotus msig inspect [command options] [address]
OPTIONS:
--vesting Include vesting details (default: false)
--decode-params Decode parameters of transaction proposals (default: false)
--help, -h show help (default: false)
--vesting Include vesting details (default: false)
```
@ -1017,7 +988,6 @@ USAGE:
OPTIONS:
--from value account to send the propose message from
--help, -h show help (default: false)
```
@ -1032,7 +1002,6 @@ USAGE:
OPTIONS:
--decrease-threshold whether the number of required signers should be decreased (default: false)
--from value account to send the propose message from
--help, -h show help (default: false)
```
@ -1046,7 +1015,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1060,7 +1028,6 @@ USAGE:
OPTIONS:
--from value account to send the cancel message from
--help, -h show help (default: false)
```
@ -1073,9 +1040,8 @@ USAGE:
lotus msig add-propose [command options] [multisigAddress signer]
OPTIONS:
--increase-threshold whether the number of required signers should be increased (default: false)
--from value account to send the propose message from
--help, -h show help (default: false)
--increase-threshold whether the number of required signers should be increased (default: false)
```
@ -1089,7 +1055,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1103,7 +1068,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1117,7 +1081,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1131,7 +1094,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1145,7 +1107,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1159,7 +1120,6 @@ USAGE:
OPTIONS:
--from value account to send the propose message from
--help, -h show help (default: false)
```
@ -1173,7 +1133,6 @@ USAGE:
OPTIONS:
--from value account to send the approve message from
--help, -h show help (default: false)
```
@ -1187,7 +1146,6 @@ USAGE:
OPTIONS:
--from value account to send the cancel message from
--help, -h show help (default: false)
```
@ -1200,9 +1158,8 @@ USAGE:
lotus msig vested [command options] [multisigAddress]
OPTIONS:
--start-epoch value start epoch to measure vesting from (default: 0)
--end-epoch value end epoch to stop measure vesting at (default: -1)
--help, -h show help (default: false)
--start-epoch value start epoch to measure vesting from (default: 0)
```
@ -1216,7 +1173,6 @@ USAGE:
OPTIONS:
--from value account to send the proposal from
--help, -h show help (default: false)
```
@ -1252,7 +1208,6 @@ USAGE:
OPTIONS:
--from value specify your notary address to send the message from
--help, -h show help (default: false)
```
@ -1318,7 +1273,6 @@ USAGE:
OPTIONS:
--id value specify the RemoveDataCapProposal ID (will look up on chain if unspecified) (default: 0)
--help, -h show help (default: false)
```
@ -1354,9 +1308,8 @@ USAGE:
lotus paych add-funds [command options] [fromAddress toAddress amount]
OPTIONS:
--restart-retrievals restart stalled retrieval deals on this payment channel (default: true)
--reserve mark funds as reserved (default: false)
--help, -h show help (default: false)
--restart-retrievals restart stalled retrieval deals on this payment channel (default: true)
```
@ -1405,7 +1358,6 @@ USAGE:
OPTIONS:
--lane value specify payment channel lane to use (default: 0)
--help, -h show help (default: false)
```
@ -1444,8 +1396,7 @@ USAGE:
lotus paych voucher list [command options] [channelAddress]
OPTIONS:
--export Print voucher as serialized string (default: false)
--help, -h show help (default: false)
--export Print voucher as serialized string (default: false)
```
@ -1458,8 +1409,7 @@ USAGE:
lotus paych voucher best-spendable [command options] [channelAddress]
OPTIONS:
--export Print voucher as serialized string (default: false)
--help, -h show help (default: false)
--export Print voucher as serialized string (default: false)
```
@ -1556,7 +1506,6 @@ USAGE:
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
--help, -h show help (default: false)
```
@ -1570,7 +1519,6 @@ USAGE:
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
--help, -h show help (default: false)
```
@ -1607,11 +1555,10 @@ USAGE:
lotus mpool pending [command options] [arguments...]
OPTIONS:
--local print pending messages for addresses in local wallet only (default: false)
--cids only print cids of messages in output (default: false)
--to value return messages to a given address
--from value return messages from a given address
--help, -h show help (default: false)
--local print pending messages for addresses in local wallet only (default: false)
--to value return messages to a given address
```
@ -1637,9 +1584,8 @@ USAGE:
lotus mpool stat [command options] [arguments...]
OPTIONS:
--local print stats for addresses in local wallet only (default: false)
--basefee-lookback value number of blocks to look back for minimum basefee (default: 60)
--help, -h show help (default: false)
--local print stats for addresses in local wallet only (default: false)
```
@ -1652,12 +1598,11 @@ USAGE:
lotus mpool replace [command options] <from> <nonce> | <message-cid>
OPTIONS:
--gas-feecap value gas feecap for new message (burn and pay to miner, attoFIL/GasUnit)
--gas-premium value gas price for new message (pay to miner, attoFIL/GasUnit)
--gas-limit value gas limit for new message (GasUnit) (default: 0)
--auto automatically reprice the specified message (default: false)
--fee-limit max-fee Spend up to X FIL for this message in units of FIL. Previously when flag was max-fee units were in attoFIL. Applicable for auto mode
--help, -h show help (default: false)
--gas-feecap value gas feecap for new message (burn and pay to miner, attoFIL/GasUnit)
--gas-limit value gas limit for new message (GasUnit) (default: 0)
--gas-premium value gas price for new message (pay to miner, attoFIL/GasUnit)
```
@ -1671,9 +1616,8 @@ USAGE:
OPTIONS:
--from value search for messages with given 'from' address
--to value search for messages with given 'to' address
--method value search for messages with given method (default: 0)
--help, -h show help (default: false)
--to value search for messages with given 'to' address
```
@ -1699,8 +1643,7 @@ USAGE:
lotus mpool gas-perf [command options] [arguments...]
OPTIONS:
--all print gas performance for all mempool messages (default only prints for local) (default: false)
--help, -h show help (default: false)
--all print gas performance for all mempool messages (default only prints for local) (default: false)
```
@ -1820,7 +1763,6 @@ USAGE:
OPTIONS:
--sort-by value criteria to sort miners by (none, num-deals)
--help, -h show help (default: false)
```
@ -1834,7 +1776,6 @@ USAGE:
OPTIONS:
--vm-supply calculates the approximation of the circulating supply used internally by the VM (instead of the exact amount) (default: false)
--help, -h show help (default: false)
```
@ -1865,7 +1806,6 @@ USAGE:
OPTIONS:
--reverse, -r Perform reverse lookup (default: false)
--help, -h show help (default: false)
```
@ -1878,9 +1818,8 @@ USAGE:
lotus state replay [command options] <messageCid>
OPTIONS:
--show-trace print out full execution trace for given message (default: false)
--detailed-gas print out detailed gas costs for given message (default: false)
--help, -h show help (default: false)
--show-trace print out full execution trace for given message (default: false)
```
@ -1919,11 +1858,10 @@ USAGE:
lotus state list-messages [command options] [arguments...]
OPTIONS:
--to value return messages to a given address
--from value return messages from a given address
--toheight value don't look before given block height (default: 0)
--cids print message CIDs instead of messages (default: false)
--help, -h show help (default: false)
--from value return messages from a given address
--to value return messages to a given address
--toheight value don't look before given block height (default: 0)
```
@ -1936,14 +1874,13 @@ USAGE:
lotus state compute-state [command options] [arguments...]
OPTIONS:
--vm-height value set the height that the vm will see (default: 0)
--apply-mpool-messages apply messages from the mempool to the computed state (default: false)
--show-trace print out full execution trace for given tipset (default: false)
--compute-state-output value a json file containing pre-existing compute-state output, to generate html reports without rerunning state changes
--html generate html report (default: false)
--json generate json output (default: false)
--compute-state-output value a json file containing pre-existing compute-state output, to generate html reports without rerunning state changes
--no-timing don't show timing information in html traces (default: false)
--help, -h show help (default: false)
--show-trace print out full execution trace for given tipset (default: false)
--vm-height value set the height that the vm will see (default: 0)
```
@ -1956,11 +1893,10 @@ USAGE:
lotus state call [command options] [toAddress methodId params (optional)]
OPTIONS:
--from value (default: "f00")
--value value specify value field for invocation (default: "0")
--ret value specify how to parse output (raw, decoded, base64, hex) (default: "decoded")
--encoding value specify params encoding to parse (base64, hex) (default: "base64")
--help, -h show help (default: false)
--from value (default: "f00")
--ret value specify how to parse output (raw, decoded, base64, hex) (default: "decoded")
--value value specify value field for invocation (default: "0")
```
@ -2077,7 +2013,6 @@ USAGE:
OPTIONS:
--network-version value specify network version (default: 16)
--help, -h show help (default: false)
```
@ -2157,7 +2092,6 @@ DESCRIPTION:
OPTIONS:
--really-do-it (default: false)
--help, -h show help (default: false)
```
@ -2177,7 +2111,6 @@ DESCRIPTION:
OPTIONS:
--base value ignore links found in this obj
--help, -h show help (default: false)
```
@ -2233,9 +2166,8 @@ DESCRIPTION:
OPTIONS:
--as-type value specify type to interpret output as
--verbose (default: false)
--tipset value specify tipset for /pstate (pass comma separated array of cids)
--help, -h show help (default: false)
--verbose (default: false)
```
@ -2275,10 +2207,9 @@ USAGE:
lotus chain export [command options] [outputPath]
OPTIONS:
--tipset value specify tipset to start the export from (default: "@head")
--recent-stateroots value specify the number of recent state roots to include in the export (default: 0)
--skip-old-msgs (default: false)
--help, -h show help (default: false)
--tipset value specify tipset to start the export from (default: "@head")
```
@ -2291,9 +2222,8 @@ USAGE:
lotus chain slash-consensus [command options] [blockCid1 blockCid2]
OPTIONS:
--from value optionally specify the account to report consensus from
--extra value Extra block cid
--help, -h show help (default: false)
--from value optionally specify the account to report consensus from
```
@ -2319,10 +2249,9 @@ USAGE:
lotus chain inspect-usage [command options] [arguments...]
OPTIONS:
--tipset value specify tipset to view block space usage of (default: "@head")
--length value length of chain to inspect block space usage for (default: 1)
--num-results value number of results to print per category (default: 10)
--help, -h show help (default: false)
--tipset value specify tipset to view block space usage of (default: "@head")
```
@ -2352,9 +2281,8 @@ USAGE:
lotus chain decode params [command options] [toAddr method params]
OPTIONS:
--tipset value
--encoding value specify input encoding to parse (default: "base64")
--help, -h show help (default: false)
--tipset value
```
@ -2384,10 +2312,9 @@ USAGE:
lotus chain encode params [command options] [dest method params]
OPTIONS:
--tipset value
--encoding value specify input encoding to parse (default: "base64")
--tipset value
--to-code interpret dest as code CID instead of as address (default: false)
--help, -h show help (default: false)
```
@ -2421,7 +2348,6 @@ USAGE:
OPTIONS:
--start-epoch value only start disputing PoSts after this epoch (default: 0)
--help, -h show help (default: false)
```
@ -2498,8 +2424,7 @@ DESCRIPTION:
GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr
OPTIONS:
--system value limit to log system
--help, -h show help (default: false)
--system value limit to log system (accepts multiple inputs)
```
@ -2512,8 +2437,7 @@ USAGE:
lotus log alerts [command options] [arguments...]
OPTIONS:
--all get all (active and inactive) alerts (default: false)
--help, -h show help (default: false)
--all get all (active and inactive) alerts (default: false)
```
@ -2530,7 +2454,6 @@ CATEGORY:
OPTIONS:
--timeout value duration to wait till fail (default: 30s)
--help, -h show help (default: false)
```
@ -2592,7 +2515,6 @@ USAGE:
OPTIONS:
--agent, -a Print agent name (default: false)
--extended, -x Print extended peer information in json (default: false)
--help, -h show help (default: false)
```
@ -2607,7 +2529,6 @@ USAGE:
OPTIONS:
--count value, -c value specify the number of times it should ping (default: 10)
--interval value, -i value minimum time between pings (default: 1s)
--help, -h show help (default: false)
```
@ -2664,7 +2585,6 @@ USAGE:
OPTIONS:
--extended, -x print extended peer scores in json (default: false)
--help, -h show help (default: false)
```
@ -2692,7 +2612,6 @@ USAGE:
OPTIONS:
--by-peer list bandwidth usage by peer (default: false)
--by-protocol list bandwidth usage by protocol (default: false)
--help, -h show help (default: false)
```
@ -2864,8 +2783,7 @@ DESCRIPTION:
- all -- reports the resource usage for all currently active scopes.
OPTIONS:
--json (default: false)
--help, -h show help (default: false)
--json (default: false)
```
@ -2890,8 +2808,7 @@ DESCRIPTION:
The limit is json-formatted, with the same structure as the limits file.
OPTIONS:
--set set the limit for a scope (default: false)
--help, -h show help (default: false)
--set set the limit for a scope (default: false)
```
@ -2978,8 +2895,7 @@ USAGE:
lotus sync wait [command options] [arguments...]
OPTIONS:
--watch don't exit after node is synced (default: false)
--help, -h show help (default: false)
--watch don't exit after node is synced (default: false)
```
@ -3005,8 +2921,7 @@ USAGE:
lotus sync unmark-bad [command options] [blockCid]
OPTIONS:
--all drop the entire bad block cache (default: false)
--help, -h show help (default: false)
--all drop the entire bad block cache (default: false)
```
@ -3033,7 +2948,6 @@ USAGE:
OPTIONS:
--epoch value checkpoint the tipset at the given epoch (default: 0)
--help, -h show help (default: false)
```
@ -3049,7 +2963,6 @@ CATEGORY:
STATUS
OPTIONS:
--chain include chain health status (default: false)
--help, -h show help (default: false)
--chain include chain health status (default: false)
```

1
go.mod
View File

@ -117,7 +117,6 @@ require (
github.com/libp2p/go-libp2p-noise v0.4.0
github.com/libp2p/go-libp2p-peerstore v0.7.0
github.com/libp2p/go-libp2p-pubsub v0.7.0
github.com/libp2p/go-libp2p-quic-transport v0.17.0
github.com/libp2p/go-libp2p-record v0.1.3
github.com/libp2p/go-libp2p-resource-manager v0.3.0
github.com/libp2p/go-libp2p-routing-helpers v0.2.3

1
go.sum
View File

@ -1290,7 +1290,6 @@ github.com/libp2p/go-libp2p-quic-transport v0.15.0/go.mod h1:wv4uGwjcqe8Mhjj7N/I
github.com/libp2p/go-libp2p-quic-transport v0.15.2/go.mod h1:wv4uGwjcqe8Mhjj7N/Ic0aKjA+/10UnMlSzLO0yRpYQ=
github.com/libp2p/go-libp2p-quic-transport v0.16.0/go.mod h1:1BXjVMzr+w7EkPfiHkKnwsWjPjtfaNT0q8RS3tGDvEQ=
github.com/libp2p/go-libp2p-quic-transport v0.16.1/go.mod h1:1BXjVMzr+w7EkPfiHkKnwsWjPjtfaNT0q8RS3tGDvEQ=
github.com/libp2p/go-libp2p-quic-transport v0.17.0 h1:yFh4Gf5MlToAYLuw/dRvuzYd1EnE2pX3Lq1N6KDiWRQ=
github.com/libp2p/go-libp2p-quic-transport v0.17.0/go.mod h1:x4pw61P3/GRCcSLypcQJE/Q2+E9f4X+5aRcZLXf20LM=
github.com/libp2p/go-libp2p-record v0.0.1/go.mod h1:grzqg263Rug/sRex85QrDOLntdFAymLDLm7lxMgU79Q=
github.com/libp2p/go-libp2p-record v0.1.0/go.mod h1:ujNc8iuE5dlKWVy6wuL6dd58t0n7xI4hAIl8pE6wu5Q=

View File

@ -8,7 +8,7 @@ import (
"github.com/libp2p/go-libp2p"
autonat "github.com/libp2p/go-libp2p-autonat-svc"
host "github.com/libp2p/go-libp2p-core/host"
libp2pquic "github.com/libp2p/go-libp2p-quic-transport"
libp2pquic "github.com/libp2p/go-libp2p/p2p/transport/quic"
"go.uber.org/fx"
"github.com/ipfs/go-ipfs/repo"
"github.com/filecoin-project/lotus/node/modules/helpers"

View File

@ -4,8 +4,8 @@ import (
"github.com/libp2p/go-libp2p"
"github.com/libp2p/go-libp2p-core/metrics"
noise "github.com/libp2p/go-libp2p-noise"
libp2pquic "github.com/libp2p/go-libp2p-quic-transport"
tls "github.com/libp2p/go-libp2p-tls"
libp2pquic "github.com/libp2p/go-libp2p/p2p/transport/quic"
)
var DefaultTransports = simpleOpt(libp2p.DefaultTransports)