This documents and old version of the recorderchain tool
recorderchain v.0.x.x
This tool is used to recover DART database using recorder chain.
This tool can create new DART database and recover it using recorder chain blocks.
To have recorder chain blocks generated you should specify parameter recorderchain
on startup for tagionwave tool. This parameter specifies folder for recorder chain blocks.
Each node should have its own folder!
To recover DART database using genesis DART file and recorder chain you can use command:
recorderchain -d dart.drt -c /recorder_chain_folder/ -g genesis.drt
After this command in case of success you will have newly created DART file with name -d
, recovered using genesis DART file -g
and recorder chain -c
.
chaindirectory
--chaindirectory -c
Required
Specifies directory that contains recorder chain blocks
Use cases:
Case: recover DART with specified chain directory
./recorderchain -c /directory_path/ -d dart.drt -g genesis.drt
Success
Result Chain inside directory is valid and tool recovered DART file using blocks from the directory