$ ./lkchain --help
linkchain root command
Usage:
linkchain [command]
Available Commands:
attach Start an interactive JavaScript environment (connect to node)
gen_validator Generate new validator keypair
help Help about any command
init Initialize Tendermint
node Run the node
replay Replay messages from WAL
replay_console Replay messages from WAL in a console
show_validator Show this node's validator info
unsafe_reset_all (unsafe) Remove all the data and WAL, reset this node's validator to genesis state
unsafe_reset_priv_validator (unsafe) Reset this node's validator to genesis state
version Show version info
Flags:
-h, --help help for linkchain
--home string directory for config and data (default "/home/linkchain")
--log.daily Rotate daily (default true)
--log.filename string Log file name (default "linkchain.log")
--log.hourly Rotate hourly
--log.maxDays int How many old logs to retain (default 7)
--log.maxLines int Rotate when the lines reach here
--log.maxSize int Rotate when the size reach here
--log.minutely Rotate minutely
--log.minutes int Rotate minutes M where 60 % M == 0
--log.perm string Log file perm (default "0664")
--log.rotate Support log rotate (default true)
--log.rotatePerm string Rotate file perm (default "0444")
--log_level string Log level (default "main:info,state:info,*:info")
--trace print out full stack trace on errors
Use "linkchain [command] --help" for more information about a command.
Start an interactive JavaScript environment (connect to node)
linkchain attach [flags]
linkchain attach http://127.0.0.1:16000
-h, --help help for attach
Generate new validator keypair
linkchain gen_validator [flags]
-h, --help help for gen_validator
Initialize BlockChain
linkchain init [flags]
--chain_id string Blockchain id (default "chainID")
--db_backend string db backend, support leveldb (default "leveldb")
--db_counts uint db counts
--db_path string db path for leveldb backend (default "data")
--full_node light-weight node or full node
--genesis_file string genesis file for init (default "config/genesis.json")
-h, --help help for init
--on_line Set true for the online version, the default value is false
--save_balance_record open transactions record storage
Show version info
linkchain version [flags]
-h, --help help for version
Run the node
linkchain node [flags]
--bootnode.addr string Addr or filepath of the bootnode
--clear_data_interval uint number of seconds between two startup cleanups (default 300)
--coinbase string coinbase for propose block (default "0x0000000000000000000000000000000000000000")
--consensus.create_empty_blocks Set this to false to only produce blocks when there are txs or when the AppHash changes (default true)
--consensus.create_empty_blocks_interval int the interval time between two empty block
--consensus.timeout_commit int the interval between blocks in ms(Milliseconds) (default 1500)
--fast_sync Fast blockchain syncing (default true)
--full_node light-weight node or full node
-h, --help help for node
--info_addr string The UDP addr of infoData (default ":40001")
--info_prefix string The prefix of infoData (default "o_blockchain_data")
--is_test_mode for test
--keep_latest_blocks uint number of latest blocks to keep
--mempool.life_time duration Life time of cached future transactions in mempool (default 1m0s)
--mempool.max_reapSize int reap txs num of block (default 10000)
--mempool.removeFutureTx Remove future tx when mempool future tx queue is full
--mempool.size int max size in good tx (default 3000)
--moniker string Node Name (default "DESKTOP-QAPUCJK")
--p2p.laddr string Node listen address. (0.0.0.0:0 means any interface, any port) (default ":13500")
--pprof string The http pprof server address
--roll_back roll-back one block, default false
--rpc.evm_interval duration Rate for evm call and estimate (default 500ms)
--rpc.evm_max int Maximum evm created by evm call and estimate (default 100)
--rpc.http_endpoint string RPC listen address. Port required (default "127.0.0.1:16000")
--rpc.http_modules strings API's offered over the HTTP-RPC interface (default [web3,eth,personal,debug,txpool,net])
--rpc.ipc_endpoint string Filename for IPC socket/pipe within the datadir (explicit paths escape it) (default linkchain.ipc")
--rpc.ws_endpoint string WS-RPC server listening address. Port required (default "127.0.0.1:18000")
--rpc.ws_expose_all Enable the WS-RPC server to expose all APIs (default true)
--rpc.ws_modules strings API's offered over the WS-RPC interface (default [web3,eth,personal,debug,txpool,net,lk])
--save_balance_record open transactions record storage
--wasm_gas_rate uint wasm vm gas rate,default 1 (default 1)
Replay messages from WAL
linkchain replay [flags]
-h, --help help for replay
Replay messages from WAL in a console
linkchain replay_console [flags]
-h, --help help for replay_console
Show this node's validator info
linkchain show_validator [flags]
-h, --help help for show_validator
(unsafe) Remove all the data and WAL, reset this node's validator to genesis state
linkchain unsafe_reset_all [flags]
-h, --help help for unsafe_reset_all
(unsafe) Reset this node's validator to genesis state
linkchain unsafe_reset_priv_validator [flags]
-h, --help help for unsafe_reset_priv_validator
linkchain wallet command
$ ./wallet --help
wallet root command
Usage:
wallet [command]
Available Commands:
help Help about any command
node Run the wallet node
version Show version info
Flags:
-h, --help help for wallet
--home string directory for config and data (default "/home/wallet")
--log.daily Rotate daily (default true)
--log.filename string Log file name (default "wallet.log")
--log.hourly Rotate hourly
--log.maxDays int How many old logs to retain (default 7)
--log.maxLines int Rotate when the lines reach here
--log.maxSize int Rotate when the size reach here
--log.minutely Rotate minutely
--log.minutes int Rotate minutes M where 60 % M == 0
--log.perm string Log file perm (default "0664")
--log.rotate Support log rotate (default true)
--log.rotatePerm string Rotate file perm (default "0444")
--log_level string Log level (default "debug")
--trace print out full stack trace on errors
Use "wallet [command] --help" for more information about a command.
Run the wallet node
wallet node [flags]
--daemon.login string Specify username[:password] for daemon RPC client
--daemon.peer_rpc string peer rpc url (default "http://127.0.0.1:11000")
--daemon.testnet For testnet. Daemon must also be launched with --testnet flag (default true)
--daemon.trusted Enable commands which rely on a trusted daemon (default true)
--detach Run as daemon
-h, --help help for node
--kdf_rounds int Number of rounds for the key derivation function (default 1)
--keystore_file string Use KeystoreFile
--log_dir string log_dir (default "logs")
--max_concurrency int Max number of threads to use for a parallel job (default 1)
--password string Wallet password
--password_file string Wallet password file
--pidfile string File path to write the daemon's PID to
--rpc.http_endpoint string RPC listen address. Port required (default "127.0.0.1:18082")
--rpc.http_modules strings API's offered over the HTTP-RPC interface (default [personal,ltk])
--rpc.ipc_endpoint string Filename for IPC socket/pipe within the datadir (explicit paths escape it) (default "wallet.ipc")
--rpc.ws_endpoint string WS-RPC server listening address. Port required (default "127.0.0.1:18083")
--rpc.ws_expose_all Enable the WS-RPC server to expose all APIs (default true)
--rpc.ws_modules strings API's offered over the WS-RPC interface (default [personal,ltk])
Show version info
wallet version [flags]
-h, --help help for version