Skip to content

api chain export

Snider edited this page Nov 23, 2021 · 2 revisions

Back to API Refrence

Usage: lthn daemon chain export

Description:

Blockchain Export

Options:

-h, --help                    - Show this help.                                                                      
--daemon-address    <string>  - Use daemon instance at :                                                 
--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")
--output-file       <string>  - Specify output file                                                                  
--testnet                     - Run on testnet.                                                                      
--log-level         <string>  - 0-4 or categories                                                                    
--database          <string>  - available: lmdb                                                                      
--block-stop        <string>  - Stop at block number                                                                 
--blocksdat                   - Output in blocks.dat format      

Clone this wiki locally