Hornet Snapshot

The Hornet Snapshot is a snapshot of the Hornet node database. In particular, during the genesis ceremony, a Hornet Full Snapshot is required in order to create a Stardust Objects Snapshot.

The Hornet node needs to be shut down before executing the following command:

hornet tools db-snapshot --sourceDatabasePath <database path> --targetSnapshotPath <target snapshot path> --targetIndex <milestone index> --global

The IOTA Foundation will indicate the target milestone index to use here, stemming from the last confirmed milestone on the Stardut mainnet.

Command flags:

  • --sourceDatabasePath: the path to the source database, e.g., ./data
  • --targetSnapshotPath: the path to the target snapshot file, e.g., ./16382940_full_snapshot.bin
  • --targetIndex: the target milestone index, e.g., 16382940
  • --global: a flag to set to create a global snapshot, i.e., SEP equal to milestone parents