-
-
Notifications
You must be signed in to change notification settings - Fork 4
api chain import
Snider edited this page Nov 23, 2021
·
1 revision
Usage: lthn daemon chain import
Description:
Blockchain Import
Options:
-h, --help - Show this help.
--data-dir <string> - Specify data directory (Default: "/Users/snider/Lethean/data")
--testnet-data-dir <string> - Specify testnet data directory (Default: "/Users/snider/Lethean/data/testnet")
--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 <string> - checkpoints from DNS server will be enforced
--prep-blocks-threads <string> - Max number of threads to use when preparing block hashes in groups.
--fast-block-sync <string> - Sync up most of the way by using embedded, known block hashes.
--show-time-stats <string> - Show time-stats when processing blocks/txs and disk synchronization.
--block-sync-size <string> - How many blocks to sync at once during chain synchronization (0 = adaptive).
--check-updates <string> - Check for new versions of monero: [disabled|notify|download|update]
--fluffy-blocks <string> - Relay blocks as fluffy blocks where possible (automatic on testnet)
--standard-json <string> - Force standard JSON output (do not return binary data in json fields)
--testnet-p2p-bind-port <string> - (=38772) Port for testnet p2p network protocol
--p2p-bind-port <string> - (=48772) Port for p2p network protocol
--extra-messages-file <string> - Specify file for extra messages to include into coinbase transactions
--db-type <string> - Specify database type, available: lmdb
--db-sync-mode <string> - (=fast:async:1000) Specify sync option, using format
[safe|fast|fastest]:[sync|async]:[nblocks_per_sync].
--db-salvage <string> - Try to salvage a blockchain database if it seems corrupted
--count-blocks <string> - Count blocks in bootstrap file and exit
--pop-blocks <string> - Remove blocks from end of blockchain
--drop-hard-fork <string> - Drop hard fork subdbs
--input-file <string> - Specify input file
--log-level <string> - 0-4 or categories
--database <string> - available: lmdb
--batch-size <string> - available: lmdb
--block-stop <string> - Stop at block number
--verify <string> - Verify blocks and transactions during import
--batch <string> - Batch transactions for faster import
--resume <string> - Resume from current height if output database already exists