How to run an archive node
Estimated time: 10-60 minutes depending on hardware and network connection.
If starting from a fresh unsynced node, simply run the aquachain node with -gcmode archive
flag.
If your node is already synchronized, you will need to re-sync the entire chain in archive mode.
To complete this step offline, you can export the chain to a file and clear the node's mainnet database, then import that file.
aquachain export aqua-mainnet.dat
and thenaquachain removedb
- Run
aquachain -gcmode archive import mainnet.dat
- Now, run aquachain with
-gcmode archive
flag.