2021-04-29 17:45:01 +00:00
# lotus
```
NAME:
lotus - Filecoin decentralized storage network client
USAGE:
lotus [global options] command [command options] [arguments...]
VERSION:
2024-05-02 05:26:04 +00:00
1.27.1-dev
2021-04-29 17:45:01 +00:00
COMMANDS:
daemon Start a lotus daemon process
backup Create node metadata backup
2021-07-23 11:55:50 +00:00
config Manage node config
2021-04-29 17:45:01 +00:00
version Print version
help, h Shows a list of commands or help for one command
BASIC:
2021-05-31 19:38:34 +00:00
send Send funds between accounts
wallet Manage wallet
2022-08-30 11:29:22 +00:00
info Print node info
2021-05-31 19:38:34 +00:00
msig Interact with a multisig wallet
filplus Interact with the verified registry actor used by Filplus
paych Manage payment channels
2021-04-29 17:45:01 +00:00
DEVELOPER:
auth Manage RPC permissions
mpool Manage message pool
state Interact with and query filecoin chain state
chain Interact with filecoin blockchain
log Manage logging
wait-api Wait for lotus api to come online
fetch-params Fetch proving parameters
2023-01-13 19:11:13 +00:00
evm Commands related to the Filecoin EVM runtime
2021-04-29 17:45:01 +00:00
NETWORK:
net Manage P2P Network
sync Inspect or interact with the chain syncer
2021-03-10 17:22:35 +00:00
STATUS:
status Check node status
2021-04-29 17:45:01 +00:00
GLOBAL OPTIONS:
2023-01-16 05:14:19 +00:00
--color use color in display output (default: depends on output being a TTY)
2022-06-29 15:17:48 +00:00
--interactive setting to false will disable interactive functionality of commands (default: false)
2023-06-03 17:37:32 +00:00
--force-send if true, will ignore pre-send checks (default: false)
2022-06-29 15:17:48 +00:00
--vv enables very verbose mode, useful for debugging the CLI (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
--version, -v print the version
2021-04-29 17:45:01 +00:00
```
## lotus daemon
```
NAME:
lotus daemon - Start a lotus daemon process
USAGE:
lotus daemon command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
stop Stop a running lotus daemon
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
--api value (default: "1234")
--genesis value genesis file to use for first node run
--bootstrap (default: true)
--import-chain value on first run, load chain from given file or url and validate
--import-snapshot value import chain state from a given chain export file or url
2023-06-19 12:32:58 +00:00
--remove-existing-chain remove existing chain and splitstore data on a snapshot-import (default: false)
2021-04-29 17:45:01 +00:00
--halt-after-import halt the process after importing chain from file (default: false)
2022-02-28 14:19:53 +00:00
--lite start lotus in lite mode (default: false)
2021-04-29 17:45:01 +00:00
--pprof value specify name of file for writing cpu profile to
--profile value specify type of node
--manage-fdlimit manage open file limit (default: true)
--config value specify path of config file to use
--api-max-req-size value maximum API request size accepted by the JSON RPC server (default: 0)
--restore value restore from backup file
--restore-config value config file to use when restoring from backup
2023-06-09 02:34:10 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus daemon stop
```
NAME:
lotus daemon stop - Stop a running lotus daemon
USAGE:
lotus daemon stop [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
## lotus backup
```
NAME:
lotus backup - Create node metadata backup
USAGE:
lotus backup [command options] [backup file path]
DESCRIPTION:
The backup command writes a copy of node metadata under the specified path
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Online backups:
For security reasons, the daemon must be have LOTUS_BACKUP_BASE_PATH env var set
to a path where backup files are supposed to be saved, and the path specified in
this command must be within this base path
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--offline create backup without the node running (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-07-23 11:55:50 +00:00
## lotus config
```
NAME:
lotus config - Manage node config
USAGE:
lotus config command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
default Print default node config
updated Print updated node config
help, h Shows a list of commands or help for one command
2021-07-23 11:55:50 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-07-23 11:55:50 +00:00
```
### lotus config default
```
NAME:
lotus config default - Print default node config
USAGE:
lotus config default [command options] [arguments...]
OPTIONS:
--no-comment don't comment default values (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-07-23 11:55:50 +00:00
```
### lotus config updated
```
NAME:
lotus config updated - Print updated node config
USAGE:
lotus config updated [command options] [arguments...]
OPTIONS:
--no-comment don't comment default values (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-07-23 11:55:50 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus version
```
NAME:
lotus version - Print version
USAGE:
lotus version [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
## lotus send
```
NAME:
lotus send - Send funds between accounts
USAGE:
lotus send [command options] [targetAddress] [amount]
CATEGORY:
BASIC
OPTIONS:
2023-01-19 22:57:48 +00:00
--from value optionally specify the account to send funds from
--from-eth-addr value optionally specify the eth addr to send funds from
2023-06-03 17:37:32 +00:00
--gas-premium value specify gas price to use in AttoFIL (default: "0")
2023-01-19 22:57:48 +00:00
--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)
2023-06-03 17:37:32 +00:00
--method value specify method to invoke (default: 0)
2023-01-19 22:57:48 +00:00
--params-json value specify invocation parameters in json
2023-06-03 17:37:32 +00:00
--params-hex value specify invocation parameters in hex
--force Deprecated: use global 'force-send' (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
## lotus wallet
```
NAME:
lotus wallet - Manage wallet
USAGE:
lotus wallet command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
new Generate a new key of the given type
list List wallet address
balance Get account balance
export export keys
import import keys
default Get default wallet address
set-default Set default wallet address
sign sign a message
verify verify the signature of a message
delete Soft delete an address from the wallet - hard deletion needed for permanent removal
market Interact with market balances
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet new
```
NAME:
lotus wallet new - Generate a new key of the given type
USAGE:
lotus wallet new [command options] [bls|secp256k1 (default secp256k1)]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet list
```
NAME:
lotus wallet list - List wallet address
USAGE:
lotus wallet list [command options] [arguments...]
OPTIONS:
--addr-only, -a Only print addresses (default: false)
--id, -i Output ID addresses (default: false)
--market, -m Output market balances (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet balance
```
NAME:
lotus wallet balance - Get account balance
USAGE:
lotus wallet balance [command options] [address]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet export
```
NAME:
lotus wallet export - export keys
USAGE:
lotus wallet export [command options] [address]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet import
```
NAME:
lotus wallet import - import keys
USAGE:
lotus wallet import [command options] [< path > (optional, will read from stdin if omitted)]
OPTIONS:
2022-06-29 15:17:48 +00:00
--format value specify input format for key (default: "hex-lotus")
2023-06-03 17:37:32 +00:00
--as-default import the given key as your new default key (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet default
```
NAME:
lotus wallet default - Get default wallet address
USAGE:
lotus wallet default [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet set-default
```
NAME:
lotus wallet set-default - Set default wallet address
USAGE:
lotus wallet set-default [command options] [address]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet sign
```
NAME:
lotus wallet sign - sign a message
USAGE:
lotus wallet sign [command options] < signing address > < hexMessage >
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet verify
```
NAME:
lotus wallet verify - verify the signature of a message
USAGE:
lotus wallet verify [command options] < signing address > < hexMessage > < signature >
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet delete
```
NAME:
2022-04-12 06:31:54 +00:00
lotus wallet delete - Soft delete an address from the wallet - hard deletion needed for permanent removal
2021-04-29 17:45:01 +00:00
USAGE:
lotus wallet delete [command options] < address >
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus wallet market
```
NAME:
lotus wallet market - Interact with market balances
USAGE:
lotus wallet market command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
withdraw Withdraw funds from the Storage Market Actor
add Add funds to the Storage Market Actor
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus wallet market withdraw
```
NAME:
lotus wallet market withdraw - Withdraw funds from the Storage Market Actor
USAGE:
lotus wallet market withdraw [command options] [amount (FIL) optional, otherwise will withdraw max available]
OPTIONS:
2023-06-03 17:37:32 +00:00
--wallet value, -w value Specify address to withdraw funds to, otherwise it will use the default wallet address
2021-04-29 17:45:01 +00:00
--address value, -a value Market address to withdraw from (account or miner actor address, defaults to --wallet address)
2021-09-29 20:16:19 +00:00
--confidence value number of block confirmations to wait for (default: 5)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus wallet market add
```
NAME:
lotus wallet market add - Add funds to the Storage Market Actor
USAGE:
lotus wallet market add [command options] < amount >
OPTIONS:
2022-06-29 15:17:48 +00:00
--from value, -f value Specify address to move funds from, otherwise it will use the default wallet address
2023-06-03 17:37:32 +00:00
--address value, -a value Market address to move funds to (account or miner actor address, defaults to --from address)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2022-08-30 11:29:22 +00:00
## lotus info
```
NAME:
lotus info - Print node info
USAGE:
lotus info [command options] [arguments...]
CATEGORY:
BASIC
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-08-30 11:29:22 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus msig
```
NAME:
lotus msig - Interact with a multisig wallet
USAGE:
lotus msig command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
create Create a new multisig wallet
inspect Inspect a multisig wallet
propose Propose a multisig transaction
propose-remove Propose to remove a signer
approve Approve a multisig message
cancel Cancel a multisig message
add-propose Propose to add a signer
add-approve Approve a message to add a signer
add-cancel Cancel a message to add a signer
swap-propose Propose to swap signers
swap-approve Approve a message to swap signers
swap-cancel Cancel a message to swap signers
lock-propose Propose to lock up some balance
lock-approve Approve a message to lock up some balance
lock-cancel Cancel a message to lock up some balance
vested Gets the amount vested in an msig between two epochs
propose-threshold Propose setting a different signing threshold on the account
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
--confidence value number of block confirmations to wait for (default: 5)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig create
```
NAME:
lotus msig create - Create a new multisig wallet
USAGE:
lotus msig create [command options] [address1 address2 ...]
OPTIONS:
2022-06-29 15:17:48 +00:00
--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")
2023-06-03 17:37:32 +00:00
--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
2021-04-29 17:45:01 +00:00
```
### lotus msig inspect
```
NAME:
lotus msig inspect - Inspect a multisig wallet
USAGE:
lotus msig inspect [command options] [address]
OPTIONS:
2022-06-29 15:17:48 +00:00
--vesting Include vesting details (default: false)
2023-06-03 17:37:32 +00:00
--decode-params Decode parameters of transaction proposals (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig propose
```
NAME:
lotus msig propose - Propose a multisig transaction
USAGE:
lotus msig propose [command options] [multisigAddress destinationAddress value < methodId methodParams > (optional)]
OPTIONS:
--from value account to send the propose message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig propose-remove
```
NAME:
lotus msig propose-remove - Propose to remove a signer
USAGE:
lotus msig propose-remove [command options] [multisigAddress signer]
OPTIONS:
--decrease-threshold whether the number of required signers should be decreased (default: false)
--from value account to send the propose message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig approve
```
NAME:
lotus msig approve - Approve a multisig message
USAGE:
lotus msig approve [command options] < multisigAddress messageId > [proposerAddress destination value [methodId methodParams]]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-11-18 23:52:20 +00:00
### lotus msig cancel
```
NAME:
lotus msig cancel - Cancel a multisig message
USAGE:
lotus msig cancel [command options] < multisigAddress messageId > [destination value [methodId methodParams]]
OPTIONS:
--from value account to send the cancel message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-11-18 23:52:20 +00:00
```
2021-04-29 17:45:01 +00:00
### lotus msig add-propose
```
NAME:
lotus msig add-propose - Propose to add a signer
USAGE:
lotus msig add-propose [command options] [multisigAddress signer]
OPTIONS:
2022-06-29 15:17:48 +00:00
--increase-threshold whether the number of required signers should be increased (default: false)
2023-06-03 17:37:32 +00:00
--from value account to send the propose message from
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig add-approve
```
NAME:
lotus msig add-approve - Approve a message to add a signer
USAGE:
lotus msig add-approve [command options] [multisigAddress proposerAddress txId newAddress increaseThreshold]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig add-cancel
```
NAME:
lotus msig add-cancel - Cancel a message to add a signer
USAGE:
lotus msig add-cancel [command options] [multisigAddress txId newAddress increaseThreshold]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig swap-propose
```
NAME:
lotus msig swap-propose - Propose to swap signers
USAGE:
lotus msig swap-propose [command options] [multisigAddress oldAddress newAddress]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig swap-approve
```
NAME:
lotus msig swap-approve - Approve a message to swap signers
USAGE:
lotus msig swap-approve [command options] [multisigAddress proposerAddress txId oldAddress newAddress]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig swap-cancel
```
NAME:
lotus msig swap-cancel - Cancel a message to swap signers
USAGE:
lotus msig swap-cancel [command options] [multisigAddress txId oldAddress newAddress]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig lock-propose
```
NAME:
lotus msig lock-propose - Propose to lock up some balance
USAGE:
lotus msig lock-propose [command options] [multisigAddress startEpoch unlockDuration amount]
OPTIONS:
--from value account to send the propose message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig lock-approve
```
NAME:
lotus msig lock-approve - Approve a message to lock up some balance
USAGE:
lotus msig lock-approve [command options] [multisigAddress proposerAddress txId startEpoch unlockDuration amount]
OPTIONS:
--from value account to send the approve message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig lock-cancel
```
NAME:
lotus msig lock-cancel - Cancel a message to lock up some balance
USAGE:
lotus msig lock-cancel [command options] [multisigAddress txId startEpoch unlockDuration amount]
OPTIONS:
--from value account to send the cancel message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig vested
```
NAME:
lotus msig vested - Gets the amount vested in an msig between two epochs
USAGE:
lotus msig vested [command options] [multisigAddress]
OPTIONS:
2022-06-29 15:17:48 +00:00
--start-epoch value start epoch to measure vesting from (default: 0)
2023-06-03 17:37:32 +00:00
--end-epoch value end epoch to stop measure vesting at (default: -1)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus msig propose-threshold
```
NAME:
lotus msig propose-threshold - Propose setting a different signing threshold on the account
USAGE:
lotus msig propose-threshold [command options] < multisigAddress newM >
OPTIONS:
--from value account to send the proposal from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-05-31 19:38:34 +00:00
## lotus filplus
2021-04-28 23:24:09 +00:00
```
NAME:
2021-05-31 19:38:34 +00:00
lotus filplus - Interact with the verified registry actor used by Filplus
2021-04-28 23:24:09 +00:00
USAGE:
2021-05-31 19:38:34 +00:00
lotus filplus command [command options] [arguments...]
2021-04-28 23:24:09 +00:00
COMMANDS:
2023-06-03 17:37:32 +00:00
grant-datacap give allowance to the specified verified client address
list-notaries list all notaries
list-clients list all verified clients
check-client-datacap check verified client remaining bytes
check-notary-datacap check a notary's remaining bytes
sign-remove-data-cap-proposal allows a notary to sign a Remove Data Cap Proposal
chore: Merge nv22 into master (#11699)
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* feat: drand: refactor round verification
* feat: sealing: Support nv22 DDO features in the sealing pipeline (#11226)
* Initial work supporting DDO pieces in lotus-miner
* sealing: Update pipeline input to operate on UniversalPiece
* sealing: Update pipeline checks/sealing states to operate on UniversalPiece
* sealing: Make pipeline build with UniversalPiece
* move PieceDealInfo out of api
* make gen
* make sealing pipeline unit tests pass
* fix itest ensemble build
* don't panic in SectorsStatus with deals
* stop linter from complaining about checkPieces
* fix sector import tests
* mod tidy
* sealing: Add logic for (pre)committing DDO sectors
* sealing: state-types with method defs
* DDO non-snap pipeline works(?), DDO Itests
* DDO support in snapdeals pipeline
* make gen
* update actor bundles
* update the gst market fix
* fix: chain: use PreCommitSectorsBatch2 when setting up genesis
* some bug fixes
* integration working changes
* update actor bundles
* Make TestOnboardRawPieceSnap pass
* Appease the linter
* Make deadlines test pass with v12 actors
* Update go-state-types, abstract market DealState
* make gen
* mod tidy, lint fixes
* Fix some more tests
* Bump version in master
Bump version in master
* Make gen
Make gen
* fix sender
* fix: lotus-provider: Fix winning PoSt
* fix: sql Scan cannot write to an object
* Actually show miner-addrs in info-log
Actually show miner-addrs in lotus-provider info-log
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* ddo is now nv22
* make gen
* temp actor bundle with ddo
* use working go-state-types
* gst with v13 market migration
* update bundle, builtin.MethodsMiner.ProveCommitSectors2 -> 3
* actually working v13 migration, v13 migration itest
* Address review
* sealing: Correct DDO snap pledge math
* itests: Mixed ddo itest
* pipeline: Fix sectorWeight
* sealing: convert market deals into PAMs in mixed sectors
* sealing: make market to ddo conversion work
* fix lint
* update gst
* Update actors and GST to lastest integ branch
* commit batcher: Update ProveCommitSectors3Params builder logic
* make gen
* use builtin-actors master
* ddo: address review
* itests: Add commd assertions to ddo tests
* make gen
* gst with fixed types
* config knobs for RequireActivationSuccess
* storage: Drop obsolete flaky tasts
---------
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Phi <orjan.roren@gmail.com>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
* feat: implement FIP-0063
* chore: deps: update to go-multiaddr v0.12.2 (#11602)
* feat: fvm: update the FVM/FFI to v4.1 (#11608) (#11612)
This:
1. Adds nv22 support.
2. Updates the message tracing format.
Co-authored-by: Steven Allen <steven@stebalien.com>
* AggregateProofType nil when doing batch updates
Use latest nv22 go-state-types version with matching update
* Update to v13.0.0-rc.2 bundle
* chore: Upgrade heights and codename
Update upgrade heights
Co-Authored-By: Steven Allen <steven@stebalien.com>
* Update epoch after nv22 DRAND switch
Update epoch after nv22 DRAND switch
* Update Mango codename to Phoneix
Make the codename for the Drand-change inline with Dragon style.
* Add UpgradePhoenixHeight to API params
* set UpgradePhoenixHeight to be one hour after Dragon
* Make gen
Make gen and UpgradePhoenixHeight in butterfly and local devnet to be in line with Calibration and Mainnet
* Update epoch heights (#11637)
Update epoch heights
* new: add forest bootstrap nodes (#11636)
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
* Merge pull request #11491 from filecoin-project/fix/remove-decommissioned-pl-bootstrap-nodes
Remove PL operated bootstrap nodes from mainnet.pi
* feat: api: new verified registry methods to get all allocations and claims (#11631)
* new verireg methods
* update changelog and add itest
* update itest and cli
* update new method's support till v9
* remove gateway APIs
* fix cli internal var names
* chore:: backport #11609 to the feat/nv22 branch (#11644)
* feat: api: improve the correctness of Eth's trace_block (#11609)
* Improve the correctness of Eth's trace_block
- Improve encoding/decoding of parameters and return values:
- Encode "native" parameters and return values with Solidity ABI.
- Correctly decode parameters to "create" calls.
- Use the correct (ish) output for "create" calls.
- Handle all forms of "create".
- Make robust with respect to reverts:
- Use the actor ID/address from the trace instead of looking it up in
the state-tree (may not exist in the state-tree due to a revert).
- Gracefully handle failed actor/contract creation.
- Improve performance:
- We avoid looking anything up in the state-tree when translating the
trace, which should significantly improve performance.
- Improve code readability:
- Remove all "backtracking" logic.
- Use an "environment" struct to store temporary state instead of
attaching it to the trace.
- Fix random bugs:
- Fix an allocation bug in the "address" logic (need to set the
capacity before modifying the slice).
- Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
- And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.
* Make gen
Make gen
---------
Co-authored-by: Steven Allen <steven@stebalien.com>
* fix: add UpgradePhoenixHeight to StateGetNetworkParams (#11648)
* chore: deps: update to go-state-types v13.0.0-rc.1
* do NOT update the cache when running the real migration
* Merge pull request #11632 from hanabi1224/hm/drand-test
feat: drand quicknet: allow scheduling drand quicknet upgrade before nv22 on 2k devnet
* chore: deps: update to go-state-types v13.0.0-rc.2
chore: deps: update to go-state-types v13.0.0-rc.2
* feat: set migration config UpgradeEpoch for v13 actors upgrade
* Built-in actor events first draft
* itest for DDO non-market verified data w/ builtin actor events
* Tests for builtin actor events API
* Clean up DDO+Events tests, add lots of explainer comments
* Minor tweaks to events types
* Avoid duplicate messages when looking for receipts
* Rename internal events modules for clarity
* Adjust actor event API after review
* s/ActorEvents/Events/g in global config
* Manage event sending rate for SubscribeActorEvents
* Terminate SubscribeActorEvents chan when at max height
* Document future API changes
* More clarity in actor event API docs
* More post-review changes, lots of tests for SubscribeActorEvents
Use BlockDelay as the window for receiving events on the SubscribeActorEvents
channel. We expect the user to have received the initial batch of historical
events (if any) in one block's time. For real-time events we expect them to
not fall behind by roughly one block's time.
* Remove duplicate code from actor event type marshalling tests
Reduce verbosity and remove duplicate test logic from actor event types
JSON marshalling tests.
* Rename actor events test to follow go convention
Add missing `s` to `actor_events` test file to follow golang convention
used across the repo.
* Run actor events table tests in deterministic order
Refactor `map` usage for actor event table tests to ensure deterministic
test execution order, making debugging potential issues easier. If
non-determinism is a target, leverage Go's built-in parallel testing
capabilities.
* Reduce scope for filter removal failure when getting actor events
Use a fresh context to remove the temporary filter installed solely to
get the actor events. This should reduce chances of failure in a case
where the original context may be expired/cancelled.
Refactor removal into a `defer` statement for a more readable, concise
return statement.
* Use fixed RNG seed for actor event tests
Improve determinism in actor event tests by using a fixed RNG seed. This
makes up a more reproducible test suit.
* Use provided libraries to assert eventual conditions
Use the functionalities already provided by `testify` to assert eventual
conditions, and remove the use of `time.Sleep`.
Remove duplicate code in utility functions that are already defined.
Refactor assertion helper functions to use consistent terminology:
"require" implies fatal error, whereas "assert" implies error where the
test may proceed executing.
* Update changelog for actor events APIs
* Fix concerns and docs identified by review
* Update actor bundle to v13.0.0-rc3
Update actor bundle to v13.0.0-rc3
* Prep Lotus v1.26.0-rc1
- For sanity reverting the mainnet upgrade epoch to 99999999, and then only set it when cutting the final release
-Update Calibnet CIDs to v13.0.0-rc3
- Add GetActorEvents, SubscribeActorEvents, GetAllClaims and GetAllAllocations methods to the changelog
Co-Authored-By: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Masih H. Derkani <m@derkani.org>
* Make gen
Make gen
* fix: beacon: validate drand change at nv16 correctly
* bump to v1.26.0-rc2
* test: cleanup ddo verified itest, extract steps to functions
also add allocation-removed event case
* test: extract verified DDO test to separate file, add more checks
* test: add additional actor events checks
* Add verification for "deal-activated" actor event
* docs(drand): document the meaning of "IsChained" (#11692)
* Resolve conflicts
I encountered multiple issues when trying to run make gen. And these changes fixed a couple of them:
- go mod tidy
- Remove RaftState/RaftLeader
- Revert `if ts.Height() > claim.TermMax+claim.TermStart || !cctx.IsSet("expired")` to the what is in the release/v1.26.0: `if tsHeight > val.TermMax || !expired`
* fixup imports, make jen
* Update version
Update version in master to v1.27.0-dev
* Update node/impl/full/dummy.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* Adjust ListClaimsCmd
Adjust ListClaimsCmd according to review
---------
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Samuel Arogbonlo <47984109+samuelarogbonlo@users.noreply.github.com>
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: tom123222 <160735201+tom123222@users.noreply.github.com>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Masih H. Derkani <m@derkani.org>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2024-03-12 09:33:58 +00:00
list-allocations List allocations available in verified registry actor or made by a client if specified
list-claims List claims available in verified registry actor or made by provider if specified
2023-06-03 17:37:32 +00:00
remove-expired-allocations remove expired allocations (if no allocations are specified all eligible allocations are removed)
remove-expired-claims remove expired claims (if no claims are specified all eligible claims are removed)
2024-03-28 11:18:28 +00:00
extend-claim extends claim expiration (TermMax)
2023-06-03 17:37:32 +00:00
help, h Shows a list of commands or help for one command
2021-04-28 23:24:09 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-28 23:24:09 +00:00
```
2021-05-31 19:38:34 +00:00
### lotus filplus grant-datacap
2021-04-28 23:24:09 +00:00
```
NAME:
2021-05-31 19:38:34 +00:00
lotus filplus grant-datacap - give allowance to the specified verified client address
2021-04-28 23:24:09 +00:00
USAGE:
2022-09-29 21:32:24 +00:00
lotus filplus grant-datacap [command options] [clientAddress datacap]
2021-04-28 23:24:09 +00:00
OPTIONS:
2021-05-31 19:38:34 +00:00
--from value specify your notary address to send the message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-28 23:24:09 +00:00
```
2021-05-31 19:38:34 +00:00
### lotus filplus list-notaries
2021-04-28 23:24:09 +00:00
```
NAME:
2021-05-31 19:38:34 +00:00
lotus filplus list-notaries - list all notaries
2021-04-28 23:24:09 +00:00
USAGE:
2021-05-31 19:38:34 +00:00
lotus filplus list-notaries [command options] [arguments...]
2021-04-28 23:24:09 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-28 23:24:09 +00:00
```
2021-05-31 19:38:34 +00:00
### lotus filplus list-clients
2021-04-28 23:24:09 +00:00
```
NAME:
2021-05-31 19:38:34 +00:00
lotus filplus list-clients - list all verified clients
2021-04-28 23:24:09 +00:00
USAGE:
2021-05-31 19:38:34 +00:00
lotus filplus list-clients [command options] [arguments...]
2021-04-28 23:24:09 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-28 23:24:09 +00:00
```
2021-05-31 19:38:34 +00:00
### lotus filplus check-client-datacap
2021-04-28 23:24:09 +00:00
```
NAME:
2021-05-31 19:38:34 +00:00
lotus filplus check-client-datacap - check verified client remaining bytes
2021-04-28 23:24:09 +00:00
USAGE:
2022-09-29 21:32:24 +00:00
lotus filplus check-client-datacap [command options] clientAddress
2021-04-28 23:24:09 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-28 23:24:09 +00:00
```
2021-10-21 00:52:52 +00:00
### lotus filplus check-notary-datacap
2021-04-28 23:24:09 +00:00
```
NAME:
2021-10-21 00:52:52 +00:00
lotus filplus check-notary-datacap - check a notary's remaining bytes
2021-04-28 23:24:09 +00:00
USAGE:
2022-09-29 21:32:24 +00:00
lotus filplus check-notary-datacap [command options] notaryAddress
2021-04-28 23:24:09 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-28 23:24:09 +00:00
```
2022-02-23 03:06:02 +00:00
### lotus filplus sign-remove-data-cap-proposal
```
NAME:
2022-02-24 17:43:02 +00:00
lotus filplus sign-remove-data-cap-proposal - allows a notary to sign a Remove Data Cap Proposal
2022-02-23 03:06:02 +00:00
USAGE:
2022-09-29 21:32:24 +00:00
lotus filplus sign-remove-data-cap-proposal [command options] [verifierAddress clientAddress allowanceToRemove]
2022-02-23 03:06:02 +00:00
OPTIONS:
2022-02-24 17:43:02 +00:00
--id value specify the RemoveDataCapProposal ID (will look up on chain if unspecified) (default: 0)
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-02-23 03:06:02 +00:00
```
2022-10-11 20:42:35 +00:00
### lotus filplus list-allocations
```
NAME:
chore: Merge nv22 into master (#11699)
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* feat: drand: refactor round verification
* feat: sealing: Support nv22 DDO features in the sealing pipeline (#11226)
* Initial work supporting DDO pieces in lotus-miner
* sealing: Update pipeline input to operate on UniversalPiece
* sealing: Update pipeline checks/sealing states to operate on UniversalPiece
* sealing: Make pipeline build with UniversalPiece
* move PieceDealInfo out of api
* make gen
* make sealing pipeline unit tests pass
* fix itest ensemble build
* don't panic in SectorsStatus with deals
* stop linter from complaining about checkPieces
* fix sector import tests
* mod tidy
* sealing: Add logic for (pre)committing DDO sectors
* sealing: state-types with method defs
* DDO non-snap pipeline works(?), DDO Itests
* DDO support in snapdeals pipeline
* make gen
* update actor bundles
* update the gst market fix
* fix: chain: use PreCommitSectorsBatch2 when setting up genesis
* some bug fixes
* integration working changes
* update actor bundles
* Make TestOnboardRawPieceSnap pass
* Appease the linter
* Make deadlines test pass with v12 actors
* Update go-state-types, abstract market DealState
* make gen
* mod tidy, lint fixes
* Fix some more tests
* Bump version in master
Bump version in master
* Make gen
Make gen
* fix sender
* fix: lotus-provider: Fix winning PoSt
* fix: sql Scan cannot write to an object
* Actually show miner-addrs in info-log
Actually show miner-addrs in lotus-provider info-log
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* ddo is now nv22
* make gen
* temp actor bundle with ddo
* use working go-state-types
* gst with v13 market migration
* update bundle, builtin.MethodsMiner.ProveCommitSectors2 -> 3
* actually working v13 migration, v13 migration itest
* Address review
* sealing: Correct DDO snap pledge math
* itests: Mixed ddo itest
* pipeline: Fix sectorWeight
* sealing: convert market deals into PAMs in mixed sectors
* sealing: make market to ddo conversion work
* fix lint
* update gst
* Update actors and GST to lastest integ branch
* commit batcher: Update ProveCommitSectors3Params builder logic
* make gen
* use builtin-actors master
* ddo: address review
* itests: Add commd assertions to ddo tests
* make gen
* gst with fixed types
* config knobs for RequireActivationSuccess
* storage: Drop obsolete flaky tasts
---------
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Phi <orjan.roren@gmail.com>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
* feat: implement FIP-0063
* chore: deps: update to go-multiaddr v0.12.2 (#11602)
* feat: fvm: update the FVM/FFI to v4.1 (#11608) (#11612)
This:
1. Adds nv22 support.
2. Updates the message tracing format.
Co-authored-by: Steven Allen <steven@stebalien.com>
* AggregateProofType nil when doing batch updates
Use latest nv22 go-state-types version with matching update
* Update to v13.0.0-rc.2 bundle
* chore: Upgrade heights and codename
Update upgrade heights
Co-Authored-By: Steven Allen <steven@stebalien.com>
* Update epoch after nv22 DRAND switch
Update epoch after nv22 DRAND switch
* Update Mango codename to Phoneix
Make the codename for the Drand-change inline with Dragon style.
* Add UpgradePhoenixHeight to API params
* set UpgradePhoenixHeight to be one hour after Dragon
* Make gen
Make gen and UpgradePhoenixHeight in butterfly and local devnet to be in line with Calibration and Mainnet
* Update epoch heights (#11637)
Update epoch heights
* new: add forest bootstrap nodes (#11636)
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
* Merge pull request #11491 from filecoin-project/fix/remove-decommissioned-pl-bootstrap-nodes
Remove PL operated bootstrap nodes from mainnet.pi
* feat: api: new verified registry methods to get all allocations and claims (#11631)
* new verireg methods
* update changelog and add itest
* update itest and cli
* update new method's support till v9
* remove gateway APIs
* fix cli internal var names
* chore:: backport #11609 to the feat/nv22 branch (#11644)
* feat: api: improve the correctness of Eth's trace_block (#11609)
* Improve the correctness of Eth's trace_block
- Improve encoding/decoding of parameters and return values:
- Encode "native" parameters and return values with Solidity ABI.
- Correctly decode parameters to "create" calls.
- Use the correct (ish) output for "create" calls.
- Handle all forms of "create".
- Make robust with respect to reverts:
- Use the actor ID/address from the trace instead of looking it up in
the state-tree (may not exist in the state-tree due to a revert).
- Gracefully handle failed actor/contract creation.
- Improve performance:
- We avoid looking anything up in the state-tree when translating the
trace, which should significantly improve performance.
- Improve code readability:
- Remove all "backtracking" logic.
- Use an "environment" struct to store temporary state instead of
attaching it to the trace.
- Fix random bugs:
- Fix an allocation bug in the "address" logic (need to set the
capacity before modifying the slice).
- Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
- And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.
* Make gen
Make gen
---------
Co-authored-by: Steven Allen <steven@stebalien.com>
* fix: add UpgradePhoenixHeight to StateGetNetworkParams (#11648)
* chore: deps: update to go-state-types v13.0.0-rc.1
* do NOT update the cache when running the real migration
* Merge pull request #11632 from hanabi1224/hm/drand-test
feat: drand quicknet: allow scheduling drand quicknet upgrade before nv22 on 2k devnet
* chore: deps: update to go-state-types v13.0.0-rc.2
chore: deps: update to go-state-types v13.0.0-rc.2
* feat: set migration config UpgradeEpoch for v13 actors upgrade
* Built-in actor events first draft
* itest for DDO non-market verified data w/ builtin actor events
* Tests for builtin actor events API
* Clean up DDO+Events tests, add lots of explainer comments
* Minor tweaks to events types
* Avoid duplicate messages when looking for receipts
* Rename internal events modules for clarity
* Adjust actor event API after review
* s/ActorEvents/Events/g in global config
* Manage event sending rate for SubscribeActorEvents
* Terminate SubscribeActorEvents chan when at max height
* Document future API changes
* More clarity in actor event API docs
* More post-review changes, lots of tests for SubscribeActorEvents
Use BlockDelay as the window for receiving events on the SubscribeActorEvents
channel. We expect the user to have received the initial batch of historical
events (if any) in one block's time. For real-time events we expect them to
not fall behind by roughly one block's time.
* Remove duplicate code from actor event type marshalling tests
Reduce verbosity and remove duplicate test logic from actor event types
JSON marshalling tests.
* Rename actor events test to follow go convention
Add missing `s` to `actor_events` test file to follow golang convention
used across the repo.
* Run actor events table tests in deterministic order
Refactor `map` usage for actor event table tests to ensure deterministic
test execution order, making debugging potential issues easier. If
non-determinism is a target, leverage Go's built-in parallel testing
capabilities.
* Reduce scope for filter removal failure when getting actor events
Use a fresh context to remove the temporary filter installed solely to
get the actor events. This should reduce chances of failure in a case
where the original context may be expired/cancelled.
Refactor removal into a `defer` statement for a more readable, concise
return statement.
* Use fixed RNG seed for actor event tests
Improve determinism in actor event tests by using a fixed RNG seed. This
makes up a more reproducible test suit.
* Use provided libraries to assert eventual conditions
Use the functionalities already provided by `testify` to assert eventual
conditions, and remove the use of `time.Sleep`.
Remove duplicate code in utility functions that are already defined.
Refactor assertion helper functions to use consistent terminology:
"require" implies fatal error, whereas "assert" implies error where the
test may proceed executing.
* Update changelog for actor events APIs
* Fix concerns and docs identified by review
* Update actor bundle to v13.0.0-rc3
Update actor bundle to v13.0.0-rc3
* Prep Lotus v1.26.0-rc1
- For sanity reverting the mainnet upgrade epoch to 99999999, and then only set it when cutting the final release
-Update Calibnet CIDs to v13.0.0-rc3
- Add GetActorEvents, SubscribeActorEvents, GetAllClaims and GetAllAllocations methods to the changelog
Co-Authored-By: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Masih H. Derkani <m@derkani.org>
* Make gen
Make gen
* fix: beacon: validate drand change at nv16 correctly
* bump to v1.26.0-rc2
* test: cleanup ddo verified itest, extract steps to functions
also add allocation-removed event case
* test: extract verified DDO test to separate file, add more checks
* test: add additional actor events checks
* Add verification for "deal-activated" actor event
* docs(drand): document the meaning of "IsChained" (#11692)
* Resolve conflicts
I encountered multiple issues when trying to run make gen. And these changes fixed a couple of them:
- go mod tidy
- Remove RaftState/RaftLeader
- Revert `if ts.Height() > claim.TermMax+claim.TermStart || !cctx.IsSet("expired")` to the what is in the release/v1.26.0: `if tsHeight > val.TermMax || !expired`
* fixup imports, make jen
* Update version
Update version in master to v1.27.0-dev
* Update node/impl/full/dummy.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* Adjust ListClaimsCmd
Adjust ListClaimsCmd according to review
---------
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Samuel Arogbonlo <47984109+samuelarogbonlo@users.noreply.github.com>
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: tom123222 <160735201+tom123222@users.noreply.github.com>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Masih H. Derkani <m@derkani.org>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2024-03-12 09:33:58 +00:00
lotus filplus list-allocations - List allocations available in verified registry actor or made by a client if specified
2022-10-11 20:42:35 +00:00
USAGE:
lotus filplus list-allocations [command options] clientAddress
OPTIONS:
2023-06-03 17:37:32 +00:00
--expired list only expired allocations (default: false)
chore: Merge nv22 into master (#11699)
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* feat: drand: refactor round verification
* feat: sealing: Support nv22 DDO features in the sealing pipeline (#11226)
* Initial work supporting DDO pieces in lotus-miner
* sealing: Update pipeline input to operate on UniversalPiece
* sealing: Update pipeline checks/sealing states to operate on UniversalPiece
* sealing: Make pipeline build with UniversalPiece
* move PieceDealInfo out of api
* make gen
* make sealing pipeline unit tests pass
* fix itest ensemble build
* don't panic in SectorsStatus with deals
* stop linter from complaining about checkPieces
* fix sector import tests
* mod tidy
* sealing: Add logic for (pre)committing DDO sectors
* sealing: state-types with method defs
* DDO non-snap pipeline works(?), DDO Itests
* DDO support in snapdeals pipeline
* make gen
* update actor bundles
* update the gst market fix
* fix: chain: use PreCommitSectorsBatch2 when setting up genesis
* some bug fixes
* integration working changes
* update actor bundles
* Make TestOnboardRawPieceSnap pass
* Appease the linter
* Make deadlines test pass with v12 actors
* Update go-state-types, abstract market DealState
* make gen
* mod tidy, lint fixes
* Fix some more tests
* Bump version in master
Bump version in master
* Make gen
Make gen
* fix sender
* fix: lotus-provider: Fix winning PoSt
* fix: sql Scan cannot write to an object
* Actually show miner-addrs in info-log
Actually show miner-addrs in lotus-provider info-log
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* ddo is now nv22
* make gen
* temp actor bundle with ddo
* use working go-state-types
* gst with v13 market migration
* update bundle, builtin.MethodsMiner.ProveCommitSectors2 -> 3
* actually working v13 migration, v13 migration itest
* Address review
* sealing: Correct DDO snap pledge math
* itests: Mixed ddo itest
* pipeline: Fix sectorWeight
* sealing: convert market deals into PAMs in mixed sectors
* sealing: make market to ddo conversion work
* fix lint
* update gst
* Update actors and GST to lastest integ branch
* commit batcher: Update ProveCommitSectors3Params builder logic
* make gen
* use builtin-actors master
* ddo: address review
* itests: Add commd assertions to ddo tests
* make gen
* gst with fixed types
* config knobs for RequireActivationSuccess
* storage: Drop obsolete flaky tasts
---------
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Phi <orjan.roren@gmail.com>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
* feat: implement FIP-0063
* chore: deps: update to go-multiaddr v0.12.2 (#11602)
* feat: fvm: update the FVM/FFI to v4.1 (#11608) (#11612)
This:
1. Adds nv22 support.
2. Updates the message tracing format.
Co-authored-by: Steven Allen <steven@stebalien.com>
* AggregateProofType nil when doing batch updates
Use latest nv22 go-state-types version with matching update
* Update to v13.0.0-rc.2 bundle
* chore: Upgrade heights and codename
Update upgrade heights
Co-Authored-By: Steven Allen <steven@stebalien.com>
* Update epoch after nv22 DRAND switch
Update epoch after nv22 DRAND switch
* Update Mango codename to Phoneix
Make the codename for the Drand-change inline with Dragon style.
* Add UpgradePhoenixHeight to API params
* set UpgradePhoenixHeight to be one hour after Dragon
* Make gen
Make gen and UpgradePhoenixHeight in butterfly and local devnet to be in line with Calibration and Mainnet
* Update epoch heights (#11637)
Update epoch heights
* new: add forest bootstrap nodes (#11636)
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
* Merge pull request #11491 from filecoin-project/fix/remove-decommissioned-pl-bootstrap-nodes
Remove PL operated bootstrap nodes from mainnet.pi
* feat: api: new verified registry methods to get all allocations and claims (#11631)
* new verireg methods
* update changelog and add itest
* update itest and cli
* update new method's support till v9
* remove gateway APIs
* fix cli internal var names
* chore:: backport #11609 to the feat/nv22 branch (#11644)
* feat: api: improve the correctness of Eth's trace_block (#11609)
* Improve the correctness of Eth's trace_block
- Improve encoding/decoding of parameters and return values:
- Encode "native" parameters and return values with Solidity ABI.
- Correctly decode parameters to "create" calls.
- Use the correct (ish) output for "create" calls.
- Handle all forms of "create".
- Make robust with respect to reverts:
- Use the actor ID/address from the trace instead of looking it up in
the state-tree (may not exist in the state-tree due to a revert).
- Gracefully handle failed actor/contract creation.
- Improve performance:
- We avoid looking anything up in the state-tree when translating the
trace, which should significantly improve performance.
- Improve code readability:
- Remove all "backtracking" logic.
- Use an "environment" struct to store temporary state instead of
attaching it to the trace.
- Fix random bugs:
- Fix an allocation bug in the "address" logic (need to set the
capacity before modifying the slice).
- Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
- And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.
* Make gen
Make gen
---------
Co-authored-by: Steven Allen <steven@stebalien.com>
* fix: add UpgradePhoenixHeight to StateGetNetworkParams (#11648)
* chore: deps: update to go-state-types v13.0.0-rc.1
* do NOT update the cache when running the real migration
* Merge pull request #11632 from hanabi1224/hm/drand-test
feat: drand quicknet: allow scheduling drand quicknet upgrade before nv22 on 2k devnet
* chore: deps: update to go-state-types v13.0.0-rc.2
chore: deps: update to go-state-types v13.0.0-rc.2
* feat: set migration config UpgradeEpoch for v13 actors upgrade
* Built-in actor events first draft
* itest for DDO non-market verified data w/ builtin actor events
* Tests for builtin actor events API
* Clean up DDO+Events tests, add lots of explainer comments
* Minor tweaks to events types
* Avoid duplicate messages when looking for receipts
* Rename internal events modules for clarity
* Adjust actor event API after review
* s/ActorEvents/Events/g in global config
* Manage event sending rate for SubscribeActorEvents
* Terminate SubscribeActorEvents chan when at max height
* Document future API changes
* More clarity in actor event API docs
* More post-review changes, lots of tests for SubscribeActorEvents
Use BlockDelay as the window for receiving events on the SubscribeActorEvents
channel. We expect the user to have received the initial batch of historical
events (if any) in one block's time. For real-time events we expect them to
not fall behind by roughly one block's time.
* Remove duplicate code from actor event type marshalling tests
Reduce verbosity and remove duplicate test logic from actor event types
JSON marshalling tests.
* Rename actor events test to follow go convention
Add missing `s` to `actor_events` test file to follow golang convention
used across the repo.
* Run actor events table tests in deterministic order
Refactor `map` usage for actor event table tests to ensure deterministic
test execution order, making debugging potential issues easier. If
non-determinism is a target, leverage Go's built-in parallel testing
capabilities.
* Reduce scope for filter removal failure when getting actor events
Use a fresh context to remove the temporary filter installed solely to
get the actor events. This should reduce chances of failure in a case
where the original context may be expired/cancelled.
Refactor removal into a `defer` statement for a more readable, concise
return statement.
* Use fixed RNG seed for actor event tests
Improve determinism in actor event tests by using a fixed RNG seed. This
makes up a more reproducible test suit.
* Use provided libraries to assert eventual conditions
Use the functionalities already provided by `testify` to assert eventual
conditions, and remove the use of `time.Sleep`.
Remove duplicate code in utility functions that are already defined.
Refactor assertion helper functions to use consistent terminology:
"require" implies fatal error, whereas "assert" implies error where the
test may proceed executing.
* Update changelog for actor events APIs
* Fix concerns and docs identified by review
* Update actor bundle to v13.0.0-rc3
Update actor bundle to v13.0.0-rc3
* Prep Lotus v1.26.0-rc1
- For sanity reverting the mainnet upgrade epoch to 99999999, and then only set it when cutting the final release
-Update Calibnet CIDs to v13.0.0-rc3
- Add GetActorEvents, SubscribeActorEvents, GetAllClaims and GetAllAllocations methods to the changelog
Co-Authored-By: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Masih H. Derkani <m@derkani.org>
* Make gen
Make gen
* fix: beacon: validate drand change at nv16 correctly
* bump to v1.26.0-rc2
* test: cleanup ddo verified itest, extract steps to functions
also add allocation-removed event case
* test: extract verified DDO test to separate file, add more checks
* test: add additional actor events checks
* Add verification for "deal-activated" actor event
* docs(drand): document the meaning of "IsChained" (#11692)
* Resolve conflicts
I encountered multiple issues when trying to run make gen. And these changes fixed a couple of them:
- go mod tidy
- Remove RaftState/RaftLeader
- Revert `if ts.Height() > claim.TermMax+claim.TermStart || !cctx.IsSet("expired")` to the what is in the release/v1.26.0: `if tsHeight > val.TermMax || !expired`
* fixup imports, make jen
* Update version
Update version in master to v1.27.0-dev
* Update node/impl/full/dummy.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* Adjust ListClaimsCmd
Adjust ListClaimsCmd according to review
---------
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Samuel Arogbonlo <47984109+samuelarogbonlo@users.noreply.github.com>
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: tom123222 <160735201+tom123222@users.noreply.github.com>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Masih H. Derkani <m@derkani.org>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2024-03-12 09:33:58 +00:00
--json output results in json format (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-10-11 20:42:35 +00:00
```
2022-12-14 21:55:50 +00:00
### lotus filplus list-claims
```
NAME:
chore: Merge nv22 into master (#11699)
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* feat: drand: refactor round verification
* feat: sealing: Support nv22 DDO features in the sealing pipeline (#11226)
* Initial work supporting DDO pieces in lotus-miner
* sealing: Update pipeline input to operate on UniversalPiece
* sealing: Update pipeline checks/sealing states to operate on UniversalPiece
* sealing: Make pipeline build with UniversalPiece
* move PieceDealInfo out of api
* make gen
* make sealing pipeline unit tests pass
* fix itest ensemble build
* don't panic in SectorsStatus with deals
* stop linter from complaining about checkPieces
* fix sector import tests
* mod tidy
* sealing: Add logic for (pre)committing DDO sectors
* sealing: state-types with method defs
* DDO non-snap pipeline works(?), DDO Itests
* DDO support in snapdeals pipeline
* make gen
* update actor bundles
* update the gst market fix
* fix: chain: use PreCommitSectorsBatch2 when setting up genesis
* some bug fixes
* integration working changes
* update actor bundles
* Make TestOnboardRawPieceSnap pass
* Appease the linter
* Make deadlines test pass with v12 actors
* Update go-state-types, abstract market DealState
* make gen
* mod tidy, lint fixes
* Fix some more tests
* Bump version in master
Bump version in master
* Make gen
Make gen
* fix sender
* fix: lotus-provider: Fix winning PoSt
* fix: sql Scan cannot write to an object
* Actually show miner-addrs in info-log
Actually show miner-addrs in lotus-provider info-log
* [WIP] feat: Add nv22 skeleton
Addition of Network Version 22 skeleton
* update FFI
* ddo is now nv22
* make gen
* temp actor bundle with ddo
* use working go-state-types
* gst with v13 market migration
* update bundle, builtin.MethodsMiner.ProveCommitSectors2 -> 3
* actually working v13 migration, v13 migration itest
* Address review
* sealing: Correct DDO snap pledge math
* itests: Mixed ddo itest
* pipeline: Fix sectorWeight
* sealing: convert market deals into PAMs in mixed sectors
* sealing: make market to ddo conversion work
* fix lint
* update gst
* Update actors and GST to lastest integ branch
* commit batcher: Update ProveCommitSectors3Params builder logic
* make gen
* use builtin-actors master
* ddo: address review
* itests: Add commd assertions to ddo tests
* make gen
* gst with fixed types
* config knobs for RequireActivationSuccess
* storage: Drop obsolete flaky tasts
---------
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Phi <orjan.roren@gmail.com>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
* feat: implement FIP-0063
* chore: deps: update to go-multiaddr v0.12.2 (#11602)
* feat: fvm: update the FVM/FFI to v4.1 (#11608) (#11612)
This:
1. Adds nv22 support.
2. Updates the message tracing format.
Co-authored-by: Steven Allen <steven@stebalien.com>
* AggregateProofType nil when doing batch updates
Use latest nv22 go-state-types version with matching update
* Update to v13.0.0-rc.2 bundle
* chore: Upgrade heights and codename
Update upgrade heights
Co-Authored-By: Steven Allen <steven@stebalien.com>
* Update epoch after nv22 DRAND switch
Update epoch after nv22 DRAND switch
* Update Mango codename to Phoneix
Make the codename for the Drand-change inline with Dragon style.
* Add UpgradePhoenixHeight to API params
* set UpgradePhoenixHeight to be one hour after Dragon
* Make gen
Make gen and UpgradePhoenixHeight in butterfly and local devnet to be in line with Calibration and Mainnet
* Update epoch heights (#11637)
Update epoch heights
* new: add forest bootstrap nodes (#11636)
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
* Merge pull request #11491 from filecoin-project/fix/remove-decommissioned-pl-bootstrap-nodes
Remove PL operated bootstrap nodes from mainnet.pi
* feat: api: new verified registry methods to get all allocations and claims (#11631)
* new verireg methods
* update changelog and add itest
* update itest and cli
* update new method's support till v9
* remove gateway APIs
* fix cli internal var names
* chore:: backport #11609 to the feat/nv22 branch (#11644)
* feat: api: improve the correctness of Eth's trace_block (#11609)
* Improve the correctness of Eth's trace_block
- Improve encoding/decoding of parameters and return values:
- Encode "native" parameters and return values with Solidity ABI.
- Correctly decode parameters to "create" calls.
- Use the correct (ish) output for "create" calls.
- Handle all forms of "create".
- Make robust with respect to reverts:
- Use the actor ID/address from the trace instead of looking it up in
the state-tree (may not exist in the state-tree due to a revert).
- Gracefully handle failed actor/contract creation.
- Improve performance:
- We avoid looking anything up in the state-tree when translating the
trace, which should significantly improve performance.
- Improve code readability:
- Remove all "backtracking" logic.
- Use an "environment" struct to store temporary state instead of
attaching it to the trace.
- Fix random bugs:
- Fix an allocation bug in the "address" logic (need to set the
capacity before modifying the slice).
- Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
- And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.
* Make gen
Make gen
---------
Co-authored-by: Steven Allen <steven@stebalien.com>
* fix: add UpgradePhoenixHeight to StateGetNetworkParams (#11648)
* chore: deps: update to go-state-types v13.0.0-rc.1
* do NOT update the cache when running the real migration
* Merge pull request #11632 from hanabi1224/hm/drand-test
feat: drand quicknet: allow scheduling drand quicknet upgrade before nv22 on 2k devnet
* chore: deps: update to go-state-types v13.0.0-rc.2
chore: deps: update to go-state-types v13.0.0-rc.2
* feat: set migration config UpgradeEpoch for v13 actors upgrade
* Built-in actor events first draft
* itest for DDO non-market verified data w/ builtin actor events
* Tests for builtin actor events API
* Clean up DDO+Events tests, add lots of explainer comments
* Minor tweaks to events types
* Avoid duplicate messages when looking for receipts
* Rename internal events modules for clarity
* Adjust actor event API after review
* s/ActorEvents/Events/g in global config
* Manage event sending rate for SubscribeActorEvents
* Terminate SubscribeActorEvents chan when at max height
* Document future API changes
* More clarity in actor event API docs
* More post-review changes, lots of tests for SubscribeActorEvents
Use BlockDelay as the window for receiving events on the SubscribeActorEvents
channel. We expect the user to have received the initial batch of historical
events (if any) in one block's time. For real-time events we expect them to
not fall behind by roughly one block's time.
* Remove duplicate code from actor event type marshalling tests
Reduce verbosity and remove duplicate test logic from actor event types
JSON marshalling tests.
* Rename actor events test to follow go convention
Add missing `s` to `actor_events` test file to follow golang convention
used across the repo.
* Run actor events table tests in deterministic order
Refactor `map` usage for actor event table tests to ensure deterministic
test execution order, making debugging potential issues easier. If
non-determinism is a target, leverage Go's built-in parallel testing
capabilities.
* Reduce scope for filter removal failure when getting actor events
Use a fresh context to remove the temporary filter installed solely to
get the actor events. This should reduce chances of failure in a case
where the original context may be expired/cancelled.
Refactor removal into a `defer` statement for a more readable, concise
return statement.
* Use fixed RNG seed for actor event tests
Improve determinism in actor event tests by using a fixed RNG seed. This
makes up a more reproducible test suit.
* Use provided libraries to assert eventual conditions
Use the functionalities already provided by `testify` to assert eventual
conditions, and remove the use of `time.Sleep`.
Remove duplicate code in utility functions that are already defined.
Refactor assertion helper functions to use consistent terminology:
"require" implies fatal error, whereas "assert" implies error where the
test may proceed executing.
* Update changelog for actor events APIs
* Fix concerns and docs identified by review
* Update actor bundle to v13.0.0-rc3
Update actor bundle to v13.0.0-rc3
* Prep Lotus v1.26.0-rc1
- For sanity reverting the mainnet upgrade epoch to 99999999, and then only set it when cutting the final release
-Update Calibnet CIDs to v13.0.0-rc3
- Add GetActorEvents, SubscribeActorEvents, GetAllClaims and GetAllAllocations methods to the changelog
Co-Authored-By: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Masih H. Derkani <m@derkani.org>
* Make gen
Make gen
* fix: beacon: validate drand change at nv16 correctly
* bump to v1.26.0-rc2
* test: cleanup ddo verified itest, extract steps to functions
also add allocation-removed event case
* test: extract verified DDO test to separate file, add more checks
* test: add additional actor events checks
* Add verification for "deal-activated" actor event
* docs(drand): document the meaning of "IsChained" (#11692)
* Resolve conflicts
I encountered multiple issues when trying to run make gen. And these changes fixed a couple of them:
- go mod tidy
- Remove RaftState/RaftLeader
- Revert `if ts.Height() > claim.TermMax+claim.TermStart || !cctx.IsSet("expired")` to the what is in the release/v1.26.0: `if tsHeight > val.TermMax || !expired`
* fixup imports, make jen
* Update version
Update version in master to v1.27.0-dev
* Update node/impl/full/dummy.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* Adjust ListClaimsCmd
Adjust ListClaimsCmd according to review
---------
Signed-off-by: samuelarogbonlo <sbayo971@gmail.com>
Co-authored-by: TippyFlits <james.bluett@protocol.ai>
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Samuel Arogbonlo <47984109+samuelarogbonlo@users.noreply.github.com>
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: tom123222 <160735201+tom123222@users.noreply.github.com>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Masih H. Derkani <m@derkani.org>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2024-03-12 09:33:58 +00:00
lotus filplus list-claims - List claims available in verified registry actor or made by provider if specified
2022-12-14 21:55:50 +00:00
USAGE:
lotus filplus list-claims [command options] providerAddress
OPTIONS:
2023-06-03 17:37:32 +00:00
--expired list only expired claims (default: false)
2024-04-12 19:27:55 +00:00
--json output results in json format (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-12-14 21:55:50 +00:00
```
2022-10-11 20:42:35 +00:00
### lotus filplus remove-expired-allocations
```
NAME:
2022-10-13 17:36:48 +00:00
lotus filplus remove-expired-allocations - remove expired allocations (if no allocations are specified all eligible allocations are removed)
2022-10-11 20:42:35 +00:00
USAGE:
lotus filplus remove-expired-allocations [command options] clientAddress Optional[...allocationId]
OPTIONS:
--from value optionally specify the account to send the message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-10-11 20:42:35 +00:00
```
2022-12-14 21:55:50 +00:00
### lotus filplus remove-expired-claims
```
NAME:
lotus filplus remove-expired-claims - remove expired claims (if no claims are specified all eligible claims are removed)
USAGE:
lotus filplus remove-expired-claims [command options] providerAddress Optional[...claimId]
OPTIONS:
--from value optionally specify the account to send the message from
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-12-14 21:55:50 +00:00
```
2024-03-20 09:34:52 +00:00
### lotus filplus extend-claim
```
NAME:
2024-03-28 11:18:28 +00:00
lotus filplus extend-claim - extends claim expiration (TermMax)
2024-03-20 09:34:52 +00:00
USAGE:
2024-03-28 11:18:28 +00:00
Extends claim expiration (TermMax).
If the client is original client then claim can be extended to maximum 5 years and no Datacap is required.
If the client id different then claim can be extended up to maximum 5 years from now and Datacap is required.
2024-03-20 09:34:52 +00:00
OPTIONS:
--term-max value, --tmax value The maximum period for which a provider can earn quality-adjusted power for the piece (epochs). Default is 5 years. (default: 5256000)
--client value the client address that will used to send the message
--all automatically extend TermMax of all claims for specified miner[s] to --term-max (default: 5 years from claim start epoch) (default: false)
--miner value, -m value, --provider value, -p value [ --miner value, -m value, --provider value, -p value ] storage provider address[es]
--assume-yes, -y, --yes automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively (default: false)
--confidence value number of block confirmations to wait for (default: 5)
2024-03-28 11:18:28 +00:00
--batch-size value number of extend requests per batch. If set incorrectly, this will lead to out of gas error (default: 500)
2024-03-20 09:34:52 +00:00
--help, -h show help
```
2021-04-29 17:45:01 +00:00
## lotus paych
```
NAME:
lotus paych - Manage payment channels
USAGE:
lotus paych command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
add-funds Add funds to the payment channel between fromAddress and toAddress. Creates the payment channel if it doesn't already exist.
list List all locally registered payment channels
voucher Interact with payment channel vouchers
settle Settle a payment channel
status Show the status of an outbound payment channel
status-by-from-to Show the status of an active outbound payment channel by from/to addresses
collect Collect funds for a payment channel
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych add-funds
```
NAME:
lotus paych add-funds - Add funds to the payment channel between fromAddress and toAddress. Creates the payment channel if it doesn't already exist.
USAGE:
lotus paych add-funds [command options] [fromAddress toAddress amount]
OPTIONS:
2024-06-05 05:56:25 +00:00
--reserve mark funds as reserved (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych list
```
NAME:
lotus paych list - List all locally registered payment channels
USAGE:
lotus paych list [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych voucher
```
NAME:
lotus paych voucher - Interact with payment channel vouchers
USAGE:
lotus paych voucher command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
create Create a signed payment channel voucher
check Check validity of payment channel voucher
add Add payment channel voucher to local datastore
list List stored vouchers for a given payment channel
best-spendable Print vouchers with highest value that is currently spendable for each lane
submit Submit voucher to chain to update payment channel state
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus paych voucher create
```
NAME:
lotus paych voucher create - Create a signed payment channel voucher
USAGE:
lotus paych voucher create [command options] [channelAddress amount]
OPTIONS:
--lane value specify payment channel lane to use (default: 0)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus paych voucher check
```
NAME:
lotus paych voucher check - Check validity of payment channel voucher
USAGE:
lotus paych voucher check [command options] [channelAddress voucher]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus paych voucher add
```
NAME:
lotus paych voucher add - Add payment channel voucher to local datastore
USAGE:
lotus paych voucher add [command options] [channelAddress voucher]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus paych voucher list
```
NAME:
lotus paych voucher list - List stored vouchers for a given payment channel
USAGE:
lotus paych voucher list [command options] [channelAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--export Print voucher as serialized string (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus paych voucher best-spendable
```
NAME:
lotus paych voucher best-spendable - Print vouchers with highest value that is currently spendable for each lane
USAGE:
lotus paych voucher best-spendable [command options] [channelAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--export Print voucher as serialized string (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus paych voucher submit
```
NAME:
lotus paych voucher submit - Submit voucher to chain to update payment channel state
USAGE:
lotus paych voucher submit [command options] [channelAddress voucher]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych settle
```
NAME:
lotus paych settle - Settle a payment channel
USAGE:
lotus paych settle [command options] [channelAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych status
```
NAME:
lotus paych status - Show the status of an outbound payment channel
USAGE:
lotus paych status [command options] [channelAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych status-by-from-to
```
NAME:
lotus paych status-by-from-to - Show the status of an active outbound payment channel by from/to addresses
USAGE:
lotus paych status-by-from-to [command options] [fromAddress toAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus paych collect
```
NAME:
lotus paych collect - Collect funds for a payment channel
USAGE:
lotus paych collect [command options] [channelAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
## lotus auth
```
NAME:
lotus auth - Manage RPC permissions
USAGE:
lotus auth command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
create-token Create token
api-info Get token with API info required to connect to this node
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus auth create-token
```
NAME:
lotus auth create-token - Create token
USAGE:
lotus auth create-token [command options] [arguments...]
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus auth api-info
```
NAME:
lotus auth api-info - Get token with API info required to connect to this node
USAGE:
lotus auth api-info [command options] [arguments...]
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
## lotus mpool
```
NAME:
lotus mpool - Manage message pool
USAGE:
lotus mpool command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
pending Get pending messages
sub Subscribe to mpool changes
stat print mempool stats
replace replace a message in the mempool
find find a message in the mempool
config get or set current mpool configuration
gas-perf Check gas performance of messages in mempool
manage
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus mpool pending
```
NAME:
lotus mpool pending - Get pending messages
USAGE:
lotus mpool pending [command options] [arguments...]
OPTIONS:
2022-06-29 15:17:48 +00:00
--local print pending messages for addresses in local wallet only (default: false)
2023-06-03 17:37:32 +00:00
--cids only print cids of messages in output (default: false)
2022-06-29 15:17:48 +00:00
--to value return messages to a given address
2023-06-03 17:37:32 +00:00
--from value return messages from a given address
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus mpool sub
```
NAME:
lotus mpool sub - Subscribe to mpool changes
USAGE:
lotus mpool sub [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus mpool stat
```
NAME:
lotus mpool stat - print mempool stats
USAGE:
lotus mpool stat [command options] [arguments...]
OPTIONS:
2022-06-29 15:17:48 +00:00
--local print stats for addresses in local wallet only (default: false)
2023-06-03 17:37:32 +00:00
--basefee-lookback value number of blocks to look back for minimum basefee (default: 60)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus mpool replace
```
NAME:
lotus mpool replace - replace a message in the mempool
USAGE:
2022-02-22 16:08:04 +00:00
lotus mpool replace [command options] < from > < nonce > | < message-cid >
2021-04-29 17:45:01 +00:00
OPTIONS:
2022-06-29 15:17:48 +00:00
--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)
2023-06-03 17:37:32 +00:00
--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
2021-04-29 17:45:01 +00:00
```
### lotus mpool find
```
NAME:
lotus mpool find - find a message in the mempool
USAGE:
lotus mpool find [command options] [arguments...]
OPTIONS:
--from value search for messages with given 'from' address
2022-06-29 15:17:48 +00:00
--to value search for messages with given 'to' address
2023-06-03 17:37:32 +00:00
--method value search for messages with given method (default: 0)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus mpool config
```
NAME:
lotus mpool config - get or set current mpool configuration
USAGE:
lotus mpool config [command options] [new-config]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus mpool gas-perf
```
NAME:
lotus mpool gas-perf - Check gas performance of messages in mempool
USAGE:
lotus mpool gas-perf [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--all print gas performance for all mempool messages (default only prints for local) (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-11-22 13:49:24 +00:00
### lotus mpool manage
2021-04-02 14:12:34 +00:00
```
2021-11-22 13:49:24 +00:00
NAME:
2022-11-19 01:16:12 +00:00
lotus mpool manage
2021-11-22 13:49:24 +00:00
USAGE:
lotus mpool manage [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-02 14:12:34 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus state
```
NAME:
lotus state - Interact with and query filecoin chain state
USAGE:
lotus state command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
power Query network or miner power
sectors Query the sector set of a miner
active-sectors Query the active sector set of a miner
list-actors list all actors in the network
list-miners list all miners in the network
circulating-supply Get the exact current circulating supply of Filecoin
sector, sector-info Get miner sector info
get-actor Print actor information
lookup Find corresponding ID address
replay Replay a particular message
sector-size Look up miners sector size
read-state View a json representation of an actors state
list-messages list messages on chain matching given criteria
compute-state Perform state computations
call Invoke a method on an actor locally
get-deal View on-chain deal info
wait-msg, wait-message Wait for a message to appear on chain
search-msg, search-message Search to see whether a message has appeared on chain
miner-info Retrieve miner information
market Inspect the storage market actor
exec-trace Get the execution trace of a given message
network-version Returns the network version
miner-proving-deadline Retrieve information about a given miner's proving deadline
actor-cids Returns the built-in actor bundle manifest ID & system actor cids
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
--tipset value specify tipset to call method on (pass comma separated array of cids)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state power
```
NAME:
lotus state power - Query network or miner power
USAGE:
lotus state power [command options] [< minerAddress > (optional)]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state sectors
```
NAME:
lotus state sectors - Query the sector set of a miner
USAGE:
lotus state sectors [command options] [minerAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state active-sectors
```
NAME:
lotus state active-sectors - Query the active sector set of a miner
USAGE:
lotus state active-sectors [command options] [minerAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state list-actors
```
NAME:
lotus state list-actors - list all actors in the network
USAGE:
lotus state list-actors [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state list-miners
```
NAME:
lotus state list-miners - list all miners in the network
USAGE:
lotus state list-miners [command options] [arguments...]
OPTIONS:
--sort-by value criteria to sort miners by (none, num-deals)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state circulating-supply
```
NAME:
lotus state circulating-supply - Get the exact current circulating supply of Filecoin
USAGE:
lotus state circulating-supply [command options] [arguments...]
OPTIONS:
--vm-supply calculates the approximation of the circulating supply used internally by the VM (instead of the exact amount) (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus state sector
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus state sector - Get miner sector info
USAGE:
lotus state sector [command options] [minerAddress] [sectorNumber]
OPTIONS:
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state get-actor
```
NAME:
lotus state get-actor - Print actor information
USAGE:
2021-07-06 18:16:06 +00:00
lotus state get-actor [command options] [actorAddress]
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state lookup
```
NAME:
lotus state lookup - Find corresponding ID address
USAGE:
lotus state lookup [command options] [address]
OPTIONS:
--reverse, -r Perform reverse lookup (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state replay
```
NAME:
lotus state replay - Replay a particular message
USAGE:
lotus state replay [command options] < messageCid >
OPTIONS:
2022-06-29 15:17:48 +00:00
--show-trace print out full execution trace for given message (default: false)
2023-06-03 17:37:32 +00:00
--detailed-gas print out detailed gas costs for given message (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state sector-size
```
NAME:
lotus state sector-size - Look up miners sector size
USAGE:
lotus state sector-size [command options] [minerAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state read-state
```
NAME:
lotus state read-state - View a json representation of an actors state
USAGE:
lotus state read-state [command options] [actorAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state list-messages
```
NAME:
lotus state list-messages - list messages on chain matching given criteria
USAGE:
lotus state list-messages [command options] [arguments...]
OPTIONS:
2022-06-29 15:17:48 +00:00
--to value return messages to a given address
2023-06-03 17:37:32 +00:00
--from value return messages from a given address
2021-04-29 17:45:01 +00:00
--toheight value don't look before given block height (default: 0)
2023-06-03 17:37:32 +00:00
--cids print message CIDs instead of messages (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state compute-state
```
NAME:
lotus state compute-state - Perform state computations
USAGE:
lotus state compute-state [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--vm-height value set the height that the vm will see (default: 0)
2021-04-29 17:45:01 +00:00
--apply-mpool-messages apply messages from the mempool to the computed state (default: false)
2023-06-03 17:37:32 +00:00
--show-trace print out full execution trace for given tipset (default: false)
2021-04-29 17:45:01 +00:00
--html generate html report (default: false)
--json generate json output (default: false)
2023-06-03 17:37:32 +00:00
--compute-state-output value a json file containing pre-existing compute-state output, to generate html reports without rerunning state changes
2021-04-29 17:45:01 +00:00
--no-timing don't show timing information in html traces (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state call
```
NAME:
lotus state call - Invoke a method on an actor locally
USAGE:
2021-05-31 19:13:25 +00:00
lotus state call [command options] [toAddress methodId params (optional)]
2021-04-29 17:45:01 +00:00
OPTIONS:
2021-05-31 19:13:25 +00:00
--from value (default: "f00")
2022-06-29 15:17:48 +00:00
--value value specify value field for invocation (default: "0")
2023-06-03 17:37:32 +00:00
--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
2021-04-29 17:45:01 +00:00
```
### lotus state get-deal
```
NAME:
lotus state get-deal - View on-chain deal info
USAGE:
lotus state get-deal [command options] [dealId]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus state wait-msg
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus state wait-msg - Wait for a message to appear on chain
USAGE:
lotus state wait-msg [command options] [messageCid]
OPTIONS:
--timeout value (default: "10m")
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus state search-msg
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus state search-msg - Search to see whether a message has appeared on chain
USAGE:
lotus state search-msg [command options] [messageCid]
OPTIONS:
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state miner-info
```
NAME:
lotus state miner-info - Retrieve miner information
USAGE:
lotus state miner-info [command options] [minerAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state market
```
NAME:
lotus state market - Inspect the storage market actor
USAGE:
lotus state market command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
balance Get the market balance (locked and escrowed) for a given account
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus state market balance
```
NAME:
lotus state market balance - Get the market balance (locked and escrowed) for a given account
USAGE:
2023-01-25 16:24:53 +00:00
lotus state market balance [command options] [address]
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state exec-trace
```
NAME:
lotus state exec-trace - Get the execution trace of a given message
USAGE:
lotus state exec-trace [command options] < messageCid >
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus state network-version
```
NAME:
lotus state network-version - Returns the network version
USAGE:
lotus state network-version [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-04-30 15:59:01 +00:00
### lotus state miner-proving-deadline
```
NAME:
lotus state miner-proving-deadline - Retrieve information about a given miner's proving deadline
USAGE:
lotus state miner-proving-deadline [command options] [minerAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-30 15:59:01 +00:00
```
2022-05-30 19:22:03 +00:00
### lotus state actor-cids
```
NAME:
lotus state actor-cids - Returns the built-in actor bundle manifest ID & system actor cids
USAGE:
lotus state actor-cids [command options] [arguments...]
OPTIONS:
2022-09-15 14:42:44 +00:00
--network-version value specify network version (default: 0)
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-05-30 19:22:03 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus chain
```
NAME:
lotus chain - Interact with filecoin blockchain
USAGE:
lotus chain command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
head Print chain head
get-block, getblock Get a block and print its details
read-obj Read the raw bytes of an object
delete-obj Delete an object from the chain blockstore
stat-obj Collect size and ipld link counts for objs
getmessage, get-message, get-msg Get and print a message by its cid
sethead, set-head manually set the local nodes head tipset (Caution: normally only used for recovery)
list, love View a segment of the chain
get Get chain DAG node by path
bisect bisect chain for an event
export export chain to a car file
export-range export chain to a car file
slash-consensus Report consensus fault
gas-price Estimate gas prices
inspect-usage Inspect block space usage of a given tipset
decode decode various types
encode encode various types
disputer interact with the window post disputer
prune splitstore gc
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain head
```
NAME:
lotus chain head - Print chain head
USAGE:
lotus chain head [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus chain get-block
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus chain get-block - Get a block and print its details
USAGE:
lotus chain get-block [command options] [blockCid]
OPTIONS:
--raw print just the raw block header (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain read-obj
```
NAME:
lotus chain read-obj - Read the raw bytes of an object
USAGE:
lotus chain read-obj [command options] [objectCid]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain delete-obj
```
NAME:
lotus chain delete-obj - Delete an object from the chain blockstore
USAGE:
lotus chain delete-obj [command options] [objectCid]
DESCRIPTION:
WARNING: Removing wrong objects from the chain blockstore may lead to sync issues
OPTIONS:
--really-do-it (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain stat-obj
```
NAME:
lotus chain stat-obj - Collect size and ipld link counts for objs
USAGE:
lotus chain stat-obj [command options] [cid]
DESCRIPTION:
Collect object size and ipld link count for an object.
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
When a base is provided it will be walked first, and all links visisted
will be ignored when the passed in object is walked.
2023-06-03 17:37:32 +00:00
2021-04-29 17:45:01 +00:00
OPTIONS:
--base value ignore links found in this obj
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus chain getmessage
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus chain getmessage - Get and print a message by its cid
USAGE:
lotus chain getmessage [command options] [messageCid]
OPTIONS:
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus chain sethead
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus chain sethead - manually set the local nodes head tipset (Caution: normally only used for recovery)
USAGE:
lotus chain sethead [command options] [tipsetkey]
OPTIONS:
--genesis reset head to genesis (default: false)
--epoch value reset head to given epoch (default: 0)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus chain list
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus chain list - View a segment of the chain
USAGE:
lotus chain list [command options] [arguments...]
OPTIONS:
--height value (default: current head)
--count value (default: 30)
--format value specify the format to print out tipsets (default: "< height > : (< time > ) < blocks > ")
--gas-stats view gas statistics for the chain (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain get
```
NAME:
lotus chain get - Get chain DAG node by path
USAGE:
lotus chain get [command options] [path]
DESCRIPTION:
Get ipld node under a specified path:
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
lotus chain get /ipfs/[cid]/some/path
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Path prefixes:
- /ipfs/[cid], /ipld/[cid] - traverse IPLD path
- /pstate - traverse from head.ParentStateRoot
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Note:
You can use special path elements to traverse through some data structures:
- /ipfs/[cid]/@H:elem - get 'elem' from hamt
- /ipfs/[cid]/@Hi:123 - get varint elem 123 from hamt
- /ipfs/[cid]/@Hu:123 - get uvarint elem 123 from hamt
- /ipfs/[cid]/@Ha:t01 - get element under Addr(t01).Bytes
- /ipfs/[cid]/@A:10 - get 10th amt element
- .../@Ha:t01/@state - get pretty map-based actor state
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
List of --as-type types:
- raw
- block
- message
- smessage, signedmessage
- actor
- amt
- hamt-epoch
- hamt-address
- cronevent
- account-state
2023-06-03 17:37:32 +00:00
2021-04-29 17:45:01 +00:00
OPTIONS:
--as-type value specify type to interpret output as
2022-06-29 15:17:48 +00:00
--verbose (default: false)
2023-06-03 17:37:32 +00:00
--tipset value specify tipset for /pstate (pass comma separated array of cids)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain bisect
```
NAME:
lotus chain bisect - bisect chain for an event
USAGE:
lotus chain bisect [command options] [minHeight maxHeight path shellCommand < shellCommandArgs ( if any ) > ]
DESCRIPTION:
Bisect the chain state tree:
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
lotus chain bisect [min height] [max height] '1/2/3/state/path' 'shell command' 'args'
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Returns the first tipset in which condition is true
v
[start] FFFFFFFTTT [end]
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Example: find height at which deal ID 100 000 appeared
- lotus chain bisect 1 32000 '@Ha:t03/1' jq -e '.[2] > 100000'
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
For special path elements see 'chain get' help
2023-06-03 17:37:32 +00:00
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain export
```
NAME:
lotus chain export - export chain to a car file
USAGE:
lotus chain export [command options] [outputPath]
OPTIONS:
2023-06-03 17:37:32 +00:00
--tipset value specify tipset to start the export from (default: "@head")
2021-04-29 17:45:01 +00:00
--recent-stateroots value specify the number of recent state roots to include in the export (default: 0)
--skip-old-msgs (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-02-14 16:44:04 +00:00
### lotus chain export-range
```
NAME:
lotus chain export-range - export chain to a car file
USAGE:
lotus chain export-range [command options] [arguments...]
OPTIONS:
--head value specify tipset to start the export from (higher epoch) (default: "@head")
2023-06-03 17:37:32 +00:00
--tail value specify tipset to end the export at (lower epoch) (default: "@tail")
2023-02-14 16:44:04 +00:00
--messages specify if messages should be include (default: false)
--receipts specify if receipts should be include (default: false)
--stateroots specify if stateroots should be include (default: false)
--workers value specify the number of workers (default: 1)
--write-buffer value specify write buffer size (default: 1048576)
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-02-14 16:44:04 +00:00
```
2021-04-29 17:45:01 +00:00
### lotus chain slash-consensus
```
NAME:
lotus chain slash-consensus - Report consensus fault
USAGE:
lotus chain slash-consensus [command options] [blockCid1 blockCid2]
OPTIONS:
2022-06-29 15:17:48 +00:00
--from value optionally specify the account to report consensus from
2023-06-03 17:37:32 +00:00
--extra value Extra block cid
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain gas-price
```
NAME:
lotus chain gas-price - Estimate gas prices
USAGE:
lotus chain gas-price [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain inspect-usage
```
NAME:
lotus chain inspect-usage - Inspect block space usage of a given tipset
USAGE:
lotus chain inspect-usage [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--tipset value specify tipset to view block space usage of (default: "@head")
2021-04-29 17:45:01 +00:00
--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)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain decode
```
NAME:
lotus chain decode - decode various types
USAGE:
lotus chain decode command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
params Decode message params
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus chain decode params
```
NAME:
lotus chain decode params - Decode message params
USAGE:
lotus chain decode params [command options] [toAddr method params]
OPTIONS:
2022-06-29 15:17:48 +00:00
--tipset value
2023-06-03 17:37:32 +00:00
--encoding value specify input encoding to parse (default: "base64")
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain encode
```
NAME:
lotus chain encode - encode various types
USAGE:
lotus chain encode command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
params Encodes the given JSON params
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus chain encode params
```
NAME:
lotus chain encode params - Encodes the given JSON params
USAGE:
2021-08-20 16:00:38 +00:00
lotus chain encode params [command options] [dest method params]
2021-04-29 17:45:01 +00:00
OPTIONS:
2022-06-29 15:17:48 +00:00
--tipset value
2023-06-03 17:37:32 +00:00
--encoding value specify input encoding to parse (default: "base64")
2021-08-20 16:00:38 +00:00
--to-code interpret dest as code CID instead of as address (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus chain disputer
```
NAME:
lotus chain disputer - interact with the window post disputer
USAGE:
lotus chain disputer command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
start Start the window post disputer
dispute Send a specific DisputeWindowedPoSt message
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
--max-fee value Spend up to X FIL per DisputeWindowedPoSt message
--from value optionally specify the account to send messages from
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus chain disputer start
```
NAME:
lotus chain disputer start - Start the window post disputer
USAGE:
lotus chain disputer start [command options] [minerAddress]
OPTIONS:
--start-epoch value only start disputing PoSts after this epoch (default: 0)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus chain disputer dispute
```
NAME:
lotus chain disputer dispute - Send a specific DisputeWindowedPoSt message
USAGE:
lotus chain disputer dispute [command options] [minerAddress index postIndex]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2022-10-14 19:48:02 +00:00
### lotus chain prune
```
NAME:
2023-03-03 16:14:52 +00:00
lotus chain prune - splitstore gc
2022-10-14 19:48:02 +00:00
USAGE:
2023-03-03 16:14:52 +00:00
lotus chain prune command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
compact-cold force splitstore compaction on cold store state and run gc
hot run online (badger vlog) garbage collection on hotstore
hot-moving run moving gc on hotstore
help, h Shows a list of commands or help for one command
2023-03-03 16:14:52 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-03-03 16:14:52 +00:00
```
#### lotus chain prune compact-cold
```
NAME:
lotus chain prune compact-cold - force splitstore compaction on cold store state and run gc
USAGE:
lotus chain prune compact-cold [command options] [arguments...]
2022-10-14 19:48:02 +00:00
OPTIONS:
--online-gc use online gc for garbage collecting the coldstore (default: false)
2023-06-03 17:37:32 +00:00
--moving-gc use moving gc for garbage collecting the coldstore (default: false)
2022-10-14 19:48:02 +00:00
--retention value specify state retention policy (default: -1)
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-10-14 19:48:02 +00:00
```
2023-03-03 16:14:52 +00:00
#### lotus chain prune hot
```
NAME:
lotus chain prune hot - run online (badger vlog) garbage collection on hotstore
USAGE:
lotus chain prune hot [command options] [arguments...]
OPTIONS:
--threshold value Threshold of vlog garbage for gc (default: 0.01)
2023-06-03 17:37:32 +00:00
--periodic Run periodic gc over multiple vlogs. Otherwise run gc once (default: false)
--help, -h show help
2023-03-03 16:14:52 +00:00
```
2023-03-06 19:05:04 +00:00
#### lotus chain prune hot-moving
```
NAME:
lotus chain prune hot-moving - run moving gc on hotstore
USAGE:
lotus chain prune hot-moving [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-03-06 19:05:04 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus log
```
NAME:
lotus log - Manage logging
USAGE:
lotus log command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
list List log systems
set-level Set log level
alerts Get alert states
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus log list
```
NAME:
lotus log list - List log systems
USAGE:
lotus log list [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus log set-level
```
NAME:
lotus log set-level - Set log level
USAGE:
lotus log set-level [command options] [level]
DESCRIPTION:
Set the log level for logging systems:
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
The system flag can be specified multiple times.
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
eg) log set-level --system chain --system chainxchg debug
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Available Levels:
debug
info
warn
error
2023-06-03 17:37:32 +00:00
2021-09-20 11:26:55 +00:00
Environment Variables:
GOLOG_LOG_LEVEL - Default log level for all log systems
GOLOG_LOG_FMT - Change output log format (json, nocolor)
GOLOG_FILE - Write logs to file
GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr
2023-06-03 17:37:32 +00:00
2021-04-29 17:45:01 +00:00
OPTIONS:
2022-11-19 01:16:12 +00:00
--system value [ --system value ] limit to log system
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-08-17 13:15:36 +00:00
### lotus log alerts
```
NAME:
lotus log alerts - Get alert states
USAGE:
lotus log alerts [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--all get all (active and inactive) alerts (default: false)
--help, -h show help
2021-08-17 13:15:36 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus wait-api
```
NAME:
lotus wait-api - Wait for lotus api to come online
USAGE:
lotus wait-api [command options] [arguments...]
CATEGORY:
DEVELOPER
OPTIONS:
2021-11-02 15:49:50 +00:00
--timeout value duration to wait till fail (default: 30s)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
## lotus fetch-params
```
NAME:
lotus fetch-params - Fetch proving parameters
USAGE:
lotus fetch-params [command options] [sectorSize]
CATEGORY:
DEVELOPER
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-01-13 19:11:13 +00:00
## lotus evm
```
NAME:
lotus evm - Commands related to the Filecoin EVM runtime
USAGE:
lotus evm command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
deploy Deploy an EVM smart contract and return its address
invoke Invoke an EVM smart contract using the specified CALLDATA
stat Print eth/filecoin addrs and code cid
call Simulate an eth contract call
contract-address Generate contract address from smart contract code
bytecode Write the bytecode of a smart contract to a file
help, h Shows a list of commands or help for one command
2023-01-13 19:11:13 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-01-13 19:11:13 +00:00
```
### lotus evm deploy
```
NAME:
lotus evm deploy - Deploy an EVM smart contract and return its address
USAGE:
lotus evm deploy [command options] contract
OPTIONS:
--from value optionally specify the account to use for sending the creation message
--hex use when input contract is in hex (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-01-13 19:11:13 +00:00
```
### lotus evm invoke
```
NAME:
lotus evm invoke - Invoke an EVM smart contract using the specified CALLDATA
USAGE:
lotus evm invoke [command options] address calldata
OPTIONS:
--from value optionally specify the account to use for sending the exec message
--value value optionally specify the value to be sent with the invokation message (default: 0)
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-01-13 19:11:13 +00:00
```
### lotus evm stat
```
NAME:
lotus evm stat - Print eth/filecoin addrs and code cid
USAGE:
2023-01-20 21:23:56 +00:00
lotus evm stat [command options] address
2023-01-13 19:11:13 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-01-13 19:11:13 +00:00
```
### lotus evm call
```
NAME:
lotus evm call - Simulate an eth contract call
USAGE:
lotus evm call [command options] [from] [to] [params]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-01-13 19:11:13 +00:00
```
### lotus evm contract-address
```
NAME:
lotus evm contract-address - Generate contract address from smart contract code
USAGE:
lotus evm contract-address [command options] [senderEthAddr] [salt] [contractHexPath]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2023-01-13 19:11:13 +00:00
```
2023-03-10 18:46:30 +00:00
### lotus evm bytecode
```
NAME:
lotus evm bytecode - Write the bytecode of a smart contract to a file
USAGE:
lotus evm bytecode [command options] [contract-address] [file-name]
OPTIONS:
2023-06-03 17:37:32 +00:00
--bin write the bytecode as raw binary and don't hex-encode (default: false)
--help, -h show help
2023-03-10 18:46:30 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus net
```
NAME:
lotus net - Manage P2P Network
USAGE:
lotus net command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
peers Print peers
ping Ping peers
connect Connect to a peer
disconnect Disconnect from a peer
listen List listen addresses
id Get node identity
find-peer, findpeer Find the addresses of a given peerID
scores Print peers' pubsub scores
reachability Print information about reachability from the internet
bandwidth Print bandwidth usage information
block Manage network connection gating rules
stat Report resource usage for a scope
limit Get or set resource limits for a scope
protect Add one or more peer IDs to the list of protected peer connections
unprotect Remove one or more peer IDs from the list of protected peer connections.
list-protected List the peer IDs with protected connection.
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus net peers
```
NAME:
lotus net peers - Print peers
USAGE:
lotus net peers [command options] [arguments...]
OPTIONS:
--agent, -a Print agent name (default: false)
--extended, -x Print extended peer information in json (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2022-02-17 09:29:09 +00:00
### lotus net ping
```
NAME:
lotus net ping - Ping peers
USAGE:
2022-10-10 06:31:55 +00:00
lotus net ping [command options] [peerMultiaddr]
2022-02-17 09:29:09 +00:00
OPTIONS:
2022-03-21 12:56:06 +00:00
--count value, -c value specify the number of times it should ping (default: 10)
--interval value, -i value minimum time between pings (default: 1s)
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-02-17 09:29:09 +00:00
```
2021-04-29 17:45:01 +00:00
### lotus net connect
```
NAME:
lotus net connect - Connect to a peer
USAGE:
lotus net connect [command options] [peerMultiaddr|minerActorAddress]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2022-07-01 17:25:50 +00:00
### lotus net disconnect
```
NAME:
lotus net disconnect - Disconnect from a peer
USAGE:
2022-07-01 17:31:38 +00:00
lotus net disconnect [command options] [peerID]
2022-07-01 17:25:50 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-07-01 17:25:50 +00:00
```
2021-04-29 17:45:01 +00:00
### lotus net listen
```
NAME:
lotus net listen - List listen addresses
USAGE:
lotus net listen [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus net id
```
NAME:
lotus net id - Get node identity
USAGE:
lotus net id [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
### lotus net find-peer
2021-04-29 17:45:01 +00:00
```
2023-12-18 15:06:47 +00:00
NAME:
lotus net find-peer - Find the addresses of a given peerID
USAGE:
lotus net find-peer [command options] [peerId]
OPTIONS:
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus net scores
```
NAME:
lotus net scores - Print peers' pubsub scores
USAGE:
lotus net scores [command options] [arguments...]
OPTIONS:
--extended, -x print extended peer scores in json (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus net reachability
```
NAME:
lotus net reachability - Print information about reachability from the internet
USAGE:
lotus net reachability [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus net bandwidth
```
NAME:
lotus net bandwidth - Print bandwidth usage information
USAGE:
lotus net bandwidth [command options] [arguments...]
OPTIONS:
--by-peer list bandwidth usage by peer (default: false)
--by-protocol list bandwidth usage by protocol (default: false)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus net block
```
NAME:
lotus net block - Manage network connection gating rules
USAGE:
lotus net block command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
add Add connection gating rules
remove Remove connection gating rules
list list connection gating rules
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus net block add
```
NAME:
lotus net block add - Add connection gating rules
USAGE:
lotus net block add command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
peer Block a peer
ip Block an IP address
subnet Block an IP subnet
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
##### lotus net block add peer
```
NAME:
lotus net block add peer - Block a peer
USAGE:
lotus net block add peer [command options] < Peer > ...
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
##### lotus net block add ip
```
NAME:
lotus net block add ip - Block an IP address
USAGE:
lotus net block add ip [command options] < IP > ...
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
##### lotus net block add subnet
```
NAME:
lotus net block add subnet - Block an IP subnet
USAGE:
lotus net block add subnet [command options] < CIDR > ...
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus net block remove
```
NAME:
lotus net block remove - Remove connection gating rules
USAGE:
lotus net block remove command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
peer Unblock a peer
ip Unblock an IP address
subnet Unblock an IP subnet
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
##### lotus net block remove peer
```
NAME:
lotus net block remove peer - Unblock a peer
USAGE:
lotus net block remove peer [command options] < Peer > ...
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
##### lotus net block remove ip
```
NAME:
lotus net block remove ip - Unblock an IP address
USAGE:
lotus net block remove ip [command options] < IP > ...
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
##### lotus net block remove subnet
```
NAME:
lotus net block remove subnet - Unblock an IP subnet
USAGE:
lotus net block remove subnet [command options] < CIDR > ...
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
#### lotus net block list
```
NAME:
lotus net block list - list connection gating rules
USAGE:
lotus net block list [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2022-01-20 09:44:01 +00:00
### lotus net stat
```
NAME:
lotus net stat - Report resource usage for a scope
USAGE:
lotus net stat [command options] scope
DESCRIPTION:
Report resource usage for a scope.
2023-06-03 17:37:32 +00:00
2022-01-20 12:34:13 +00:00
The scope can be one of the following:
- system -- reports the system aggregate resource usage.
- transient -- reports the transient resource usage.
- svc:< service > -- reports the resource usage of a specific service.
- proto:< proto > -- reports the resource usage of a specific protocol.
- peer:< peer > -- reports the resource usage of a specific peer.
- all -- reports the resource usage for all currently active scopes.
2023-06-03 17:37:32 +00:00
2022-01-20 09:44:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--json (default: false)
--help, -h show help
2022-01-20 09:44:01 +00:00
```
### lotus net limit
```
NAME:
lotus net limit - Get or set resource limits for a scope
USAGE:
lotus net limit [command options] scope [limit]
DESCRIPTION:
Get or set resource limits for a scope.
2023-06-03 17:37:32 +00:00
2022-01-20 12:34:13 +00:00
The scope can be one of the following:
- system -- reports the system aggregate resource usage.
- transient -- reports the transient resource usage.
- svc:< service > -- reports the resource usage of a specific service.
- proto:< proto > -- reports the resource usage of a specific protocol.
- peer:< peer > -- reports the resource usage of a specific peer.
2023-06-03 17:37:32 +00:00
2022-01-20 12:34:13 +00:00
The limit is json-formatted, with the same structure as the limits file.
2023-06-03 17:37:32 +00:00
2022-01-20 09:44:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--set set the limit for a scope (default: false)
--help, -h show help
2022-01-20 09:44:01 +00:00
```
2022-02-11 20:02:56 +00:00
### lotus net protect
```
NAME:
lotus net protect - Add one or more peer IDs to the list of protected peer connections
USAGE:
lotus net protect [command options] < peer-id > [< peer-id > ...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-02-11 20:02:56 +00:00
```
### lotus net unprotect
```
NAME:
lotus net unprotect - Remove one or more peer IDs from the list of protected peer connections.
USAGE:
lotus net unprotect [command options] < peer-id > [< peer-id > ...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-02-11 20:02:56 +00:00
```
### lotus net list-protected
```
NAME:
lotus net list-protected - List the peer IDs with protected connection.
USAGE:
lotus net list-protected [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2022-02-11 20:02:56 +00:00
```
2021-04-29 17:45:01 +00:00
## lotus sync
```
NAME:
lotus sync - Inspect or interact with the chain syncer
USAGE:
lotus sync command [command options] [arguments...]
COMMANDS:
2023-06-03 17:37:32 +00:00
status check sync status
wait Wait for sync to be complete
mark-bad Mark the given block as bad, will prevent syncing to a chain that contains it
unmark-bad Unmark the given block as bad, makes it possible to sync to a chain containing it
check-bad check if the given block was marked bad, and for what reason
checkpoint mark a certain tipset as checkpointed; the node will never fork away from this tipset
help, h Shows a list of commands or help for one command
2021-04-29 17:45:01 +00:00
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus sync status
```
NAME:
lotus sync status - check sync status
USAGE:
lotus sync status [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus sync wait
```
NAME:
lotus sync wait - Wait for sync to be complete
USAGE:
lotus sync wait [command options] [arguments...]
OPTIONS:
2023-06-03 17:37:32 +00:00
--watch don't exit after node is synced (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus sync mark-bad
```
NAME:
lotus sync mark-bad - Mark the given block as bad, will prevent syncing to a chain that contains it
USAGE:
lotus sync mark-bad [command options] [blockCid]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus sync unmark-bad
```
NAME:
lotus sync unmark-bad - Unmark the given block as bad, makes it possible to sync to a chain containing it
USAGE:
lotus sync unmark-bad [command options] [blockCid]
OPTIONS:
2023-06-03 17:37:32 +00:00
--all drop the entire bad block cache (default: false)
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus sync check-bad
```
NAME:
lotus sync check-bad - check if the given block was marked bad, and for what reason
USAGE:
lotus sync check-bad [command options] [blockCid]
OPTIONS:
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
### lotus sync checkpoint
```
NAME:
lotus sync checkpoint - mark a certain tipset as checkpointed; the node will never fork away from this tipset
USAGE:
lotus sync checkpoint [command options] [tipsetKey]
OPTIONS:
--epoch value checkpoint the tipset at the given epoch (default: 0)
2023-06-03 17:37:32 +00:00
--help, -h show help
2021-04-29 17:45:01 +00:00
```
2021-03-10 17:22:35 +00:00
## lotus status
```
NAME:
lotus status - Check node status
USAGE:
lotus status [command options] [arguments...]
CATEGORY:
STATUS
OPTIONS:
2023-06-03 17:37:32 +00:00
--chain include chain health status (default: false)
--help, -h show help
2021-03-10 17:22:35 +00:00
```