-
-
Notifications
You must be signed in to change notification settings - Fork 4
api chain start
Snider edited this page Nov 23, 2021
·
2 revisions
Usage: lthn daemon chain start
Description:
Start chain daemon
Options:
-h, --help - Show this help.
--config-file <string> - Specify configuration file
--detach - Run as daemon
--pidfile <string> - File path to write the daemon's PID to (optional, requires --detach)
--non-interactive - Run non-interactive (Default: true)
--log-file <string> - Specify log file
--log-level <number> - 1-4
--max-concurrency <number> - Max number of threads to use for a parallel job
--data-dir <string> - Specify data directory (Default: "/Users/snider/Lethean/data")
--testnet-data-dir <string> - Specify testnet data directory
--test-drop-download - For net tests: in download, discard ALL blocks instead checking/saving them
(very fast)
--test-drop-download-height <number> - Like test-drop-download but disards only after around certain height
--testnet - Run on testnet. The wallet must be launched with --testnet flag.
--enforce-dns-checkpointing - checkpoints from DNS server will be enforced
--prep-blocks-threads <number> - Max number of threads to use when preparing block hashes in groups.
--fast-block-sync - Sync up most of the way by using embedded, known block hashes.
--show-time-stats - Show time-stats when processingblocks/txs and disk synchronization
--block-sync-size <number> - How many blocks to sync at once during chain synchronization (0 = adaptive)
--check-updates <string> - Check for new versions of Lethean: [disabled|notify|download|update]
--fluffy-blocks - Relay blocks as fluffy blocks where possible (automatic on testnet)
--standard-json - Force standard JSON output (do not return binary data in json fields)
--testnet-p2p-bind-port <number> - Port for testnet p2p network protocol
--p2p-bind-port <number> - Port for p2p network protocol
--extra-messages-file <string> - Specify file for extra messages to include into coinbase transactions
--start-mining <string> - Specify wallet address to mining for
--mining-threads <number> - Specify mining threads count
--bg-mining-enable - enable/disable background mining
--bg-mining-ignore-battery - if true, assumes plugged in when unable to query system power status
--bg-mining-min-idle-interval <number> - Specify min lookback interval in seconds for determining idle state
--bg-mining-idle-threshold <number> - Specify minimum avg idle percentage over lookback interval
--bg-mining-miner-target <string> - Specify maximum percentage cpu use by miner(s)
--db-type <string> - Specify database type, available: lmdb
--db-sync-mode <string> - Specify sync option, using format [safe|fast|fastest]:[sync|async]:[nbloc
ks_per_sync].
--db-salvage - Try to salvage a blockchain database if it seems corrupted
--p2p-bind-ip <string> - Interface for p2p network protocol
--p2p-external-port <string> - External port for p2p network protocol (if port forwarding used with NAT)
--allow-local-ip - Allow local ip add to peer list, mostly in debug purposes
--add-peer <string> - Manually add peer to local peerlist
--add-priority-node <string> - Specify list of peers to connect to and attempt to keep the connection open
--add-exclusive-node <string> - Specify list of peers to connect to only. If this option is given the options
add-priority-node and seed-node are ignored
--seed-node <string> - Connect to a node to retrieve peer addresses, and disconnect
--hide-my-port - Do not announce yourself as peerlist candidate
--no-igd - Disable UPnP port mapping
--offline - Do not listen for peers, nor connect to any
--out-peers <string> - set max number of out peers
--tos-flag - set TOS flag
--limit-rate-up <string> - set limit-rate-up [kB/s]
--limit-rate-down <string> - set limit-rate-down [kB/s]
--limit-rate <string> - set limit-rate [kB/s]
--save-graph - Save data for dr functions
--rpc-bind-port <string> - Port for RPC server
--testnet-rpc-bind-port <string> - Port for testnet RPC server
--restricted-rpc - Restrict RPC to view only commands
--rpc-bind-ip <string> - Specify ip to bind rpc server
--rpc-login <string> - Specify username[:password] required for RPC server
--confirm-external-bind - Confirm rpc-bind-ip value is NOT a loopback (local) IP