The Autonomys Piece Conversion Tool allows you to convert data synchronized by autonomys-node into piece cache data. Please follow the steps below to export piece cache data:
autonomys-node
piece
Use the following command:
NODE_URL="http://192.168.1.1:9944" ./autonomys-export-piece
After executing the command, the generated piece data will be automatically saved to the full-cache-tmp directory on your local machine.
full-cache-tmp
Simply set the path parameter of the autonomys-full-piece component to this directory.
path
autonomys-full-piece
Note: The startup command for autonomys-node specified in NODE_URL must include the --sync=full --blocks-pruning=archive parameter.
NODE_URL
--sync=full --blocks-pruning=archive
Last updated 1 year ago