From 627980eb36b526a801fc0c1ef522bd9045180f3e Mon Sep 17 00:00:00 2001 From: h0ngcha0 Date: Tue, 3 Sep 2024 09:59:16 +0200 Subject: [PATCH] Update instruction to download snapshot --- docs/full-node/loading-snapshot.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/full-node/loading-snapshot.md b/docs/full-node/loading-snapshot.md index 5c8640e4..305891db 100644 --- a/docs/full-node/loading-snapshot.md +++ b/docs/full-node/loading-snapshot.md @@ -28,11 +28,18 @@ snapshot before extracting it: ```shell ALEPHIUM_HOME=~/.alephium -ALEPHIUM_NETWORK=mainnet -curl -L "$(curl -sL https://archives.alephium.org/archives/$ALEPHIUM_NETWORK/full-node-data/_latest.txt)" | tar xf - -C "$ALEPHIUM_HOME/" +ALEPHIUM_NETWORK=mainnet # Possible values: `mainnet`, `testnet` +INDEXES_CONFIG=with-indexes # Possible values: `with-indexes`, `without-indexes` +NODE_TYPE=full # Possible values: `full`, `pruned` +curl -L "$(curl -sL https://archives.alephium.org/archives/$ALEPHIUM_NETWORK/$NODE_TYPE-node-data/_latest-$INDEXES_CONFIG.txt)" | tar xf - -C "$ALEPHIUM_HOME/" ``` -A specific file `_latest.txt` is updated for your convenience, always pointing to the latest snapshot available. +A snapshot is created with [advanced node +indexes](/full-node/config#support-dapps) enabled to support the +development and operation of dApps. You can also start from a snapshot +without node indexes to save disk space. + +Note that node indexes are always disabled for `pruned` snapshot. ## Using a ready-made script