How to run an archive node

Estimated time: 10-60 minutes depending on hardware and network connection.

Since v1.7.17, "-gcmode archive" mode is now default. If starting from a fresh unsynced node, you can simply run aquachain or aquachain daemon and it will sync in archive mode.

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.

  1. aquachain export aqua-mainnet.dat and then aquachain removedb
  2. Run aquachain -gcmode archive import mainnet.dat
  3. Now, run aquachain with -gcmode archive flag.~