Skip to content

Lethean Blockchain

Data Location

%USERPROFILE%\\Lethean\\data\\lmdb 
$HOME/Lethean/data/lmdb 
$HOME/Lethean/data/lmdb

Using the CLI

Example

  1. Press the Windows key
  2. type cmd.exe + Press Enter
  3. change directory to Lethean user data cd %USERPROFILE%\\Lethean\\
  1. Press the CMD + SPACE
  2. type Terminal + Press Enter
  3. change directory to Lethean user data cd $HOME/Lethean
  1. Open your preferred Terminal
  2. change directory to Lethean user data cd $HOME/Lethean

Stopping a running daemon

taskkill /IM "letheand.exe" /F
$HOME/Lethean/data/lmdb 
$HOME/Lethean/data/lmdb

Background Daemon

%USERPROFILE%\\Lethean\\cli\\letheand.exe --detach 
$HOME/Lethean/cli/letheand --detach 
$HOME/Lethean/cli/letheand --detach 

image

Interactive

%USERPROFILE%\\Lethean\\cli\\letheand.exe 
$HOME/Lethean/cli/letheand
$HOME/Lethean/cli/letheand

image

Exporting Chain data

%USERPROFILE%\\Lethean\\cli\\lethean-blockchain-export.exe --data-dir=%USERPROFILE%\\Lethean\\data --output-file=%USERPROFILE%\\Lethean\\data\\blockchain.raw
$HOME/Lethean/cli/lethean-blockchain-export --data-dir=$HOME/Lethean/data --output-file=$HOME/Lethean/data/blockchain.raw
$HOME/Lethean/cli/lethean-blockchain-export --data-dir=$HOME/Lethean/data --output-file=$HOME/Lethean/data/blockchain.raw

image

Importing Chain data

%USERPROFILE%\\Lethean\\cli\\lethean-blockchain-export.exe --data-dir=%USERPROFILE%\\Lethean\\data --input-file=%USERPROFILE%\\Lethean\\data\\blockchain.raw
$HOME/Lethean/cli/lethean-blockchain-export --data-dir=$HOME/Lethean/data --input-file=$HOME/Lethean/data/blockchain.raw
$HOME/Lethean/cli/lethean-blockchain-export --data-dir$HOME/Lethean/data --input-file=$HOME/Lethean/data/blockchain.raw

Comments