Snapshots

You can quickly set up a GIWA node using a snapshot.

A GIWA node snapshot is a compressed archive of recent node data. By starting from a snapshot and syncing from that point, you can set up a node much faster than syncing from genesis.

Snapshot data is updated once per week.

circle-info

A snapshot does not contain the chain tip (the latest block).

After restoring from a snapshot, your node must catch up by syncing the blocks produced after the snapshot was created until it reaches the latest tip.

Set up a node using a snapshot

This guide assumes you are running a node using the Docker-based setup provided in the giwa-io/nodearrow-up-right repository.

1. Clean up existing resources

Stop your existing node and remove (or back up) the node data directory.

Geth:

docker compose down && rm -rf ./geth_data

Reth:

docker compose down && rm -rf ./reth_data

2. Prepare the node data directory

Geth:

Reth:

3. Download the snapshot

Depending on the execution client and pruning mode you plan to run, execute one of the commands below.

circle-exclamation
Network
Client
Pruning
Command

GIWA Sepolia

Geth

Full

GIWA Sepolia

Geth

Archive

GIWA Sepolia

Reth

Full

GIWA Sepolia

Reth

Archive

4. Extract the snapshot

Extract the downloaded snapshot archive into your data directory.

Geth:

Reth:

5. Start your GIWA node

Follow the instructions in the giwa-io/nodearrow-up-right repository and start your node using docker compose.

Last updated