Skip to content

Commit

Permalink
Update Snapshot Date
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent a3f37fa commit d3bb268
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions fxcore/setup-node/use-snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@
* Pruned-shapshot (light node)
* Snapshot frequency: once a day (10am GMT +8)
* Snapshot record keeping: 3 most recent
* Shapshot link: [https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-10.tar.gz](https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-10.tar.gz)
* Md5 link: [https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-10.tar.gz.md5](https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-10.tar.gz.md5)
* Shapshot link: [https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-11.tar.gz](https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-11.tar.gz)
* Md5 link: [https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-11.tar.gz.md5](https://fx-mainnet.s3.amazonaws.com/fxcore-pruned-snapshot-mainnet-2024-10-11.tar.gz.md5)
* Full-node snapshot (full node)
* Snapshot frequency: every Monday (12am GMT +8)
* Snapshot record keeping: 1 most recent
* Shapshot link: [https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-10.tar.gz](https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-10.tar.gz)
* Md5 link: [https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-10.tar.gz.md5](https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-10.tar.gz.md5)
* Shapshot link: [https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-11.tar.gz](https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-11.tar.gz)
* Md5 link: [https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-11.tar.gz.md5](https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-11.tar.gz.md5)
{% endtab %}

{% tab title="Testnet" %}
* Pruned-shapshot (light node)
* Snapshot frequency: once a day (10am GMT +8)
* Snapshot record keeping: 3 most recent
* Shapshot link: [https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-10.tar.gz](https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-10.tar.gz)
* Md5 link: [https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-10.tar.gz.md5](https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-10.tar.gz.md5)
* Shapshot link: [https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-11.tar.gz](https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-11.tar.gz)
* Md5 link: [https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-11.tar.gz.md5](https://testnet-fx.s3.amazonaws.com/fxcore-pruned-snapshot-testnet-2024-10-11.tar.gz.md5)
* Full-node snapshot (full node)
* Snapshot frequency: every Monday (10pm GMT +8)
* Snapshot record keeping: 1 most recent
* Shapshot link: [https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-10.tar.gz](https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-10.tar.gz)
* Md5 link: [https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-10.tar.gz.md5](https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-10.tar.gz.md5)
* Shapshot link: [https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-11.tar.gz](https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-11.tar.gz)
* Md5 link: [https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-11.tar.gz.md5](https://testnet-fx.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-11.tar.gz.md5)
{% endtab %}
{% endtabs %}

Expand All @@ -59,13 +59,13 @@ Download the snapshot to your VM. To download the snapshot tar file to your VM y
{% tabs %}
{% tab title="Mainnet" %}
```
wget -c https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-10.tar.gz
wget -c https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-11.tar.gz
```
{% endtab %}

{% tab title="Testnet" %}
```
wget -c https://fx-testnet.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-10.tar.gz
wget -c https://fx-testnet.s3.amazonaws.com/fxcore-snapshot-testnet-2024-10-11.tar.gz
```
{% endtab %}
{% endtabs %}
Expand All @@ -77,11 +77,11 @@ This will download the snapshot of fxcore full-node data. Since it's full-node,
Checksums are often used to verify data integrity but are not relied upon to verify data authenticity, below are example of the `md5sum` command to check whether the file is downloaded correctly using

```bash
$ md5sum fxcore-snapshot-mainnet-2024-10-10.tar.gz
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx fxcore-snapshot-mainnet-2024-10-10.tar.gz
$ md5sum fxcore-snapshot-mainnet-2024-10-11.tar.gz
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx fxcore-snapshot-mainnet-2024-10-11.tar.gz
```

> compare the md5 hash against https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-10.tar.gz.md5
> compare the md5 hash against https://fx-mainnet.s3.amazonaws.com/fxcore-snapshot-mainnet-2024-10-11.tar.gz.md5
## Extracting the Snapshots

Expand All @@ -91,14 +91,14 @@ Now, to unpack the `tar` file in the fxcore Data directory run the following com
{% tab title="Mainnet" %}
```
rm -rf ~/.fxcore/data
tar -xzvf fxcore-snapshot-mainnet-2024-10-10.tar.gz -C ~/.fxcore/
tar -xzvf fxcore-snapshot-mainnet-2024-10-11.tar.gz -C ~/.fxcore/
```
{% endtab %}

{% tab title="Testnet" %}
```
rm -rf ~/.fxcore/data
tar -xzvf fxcore-snapshot-testnet-2024-10-10.tar.gz -C ~/.fxcore/
tar -xzvf fxcore-snapshot-testnet-2024-10-11.tar.gz -C ~/.fxcore/
```
{% endtab %}
{% endtabs %}
Expand Down

0 comments on commit d3bb268

Please sign in to comment.