From c7c4e3f3b618029b9019775ac7fc438e4666c297 Mon Sep 17 00:00:00 2001 From: walnut-the-cat <122475853+walnut-the-cat@users.noreply.github.com> Date: Tue, 4 Feb 2025 10:57:48 -0800 Subject: [PATCH 1/6] Update run-rpc-node-with-nearup.md --- docs/rpc/run-rpc-node-with-nearup.md | 45 ++-------------------------- 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/docs/rpc/run-rpc-node-with-nearup.md b/docs/rpc/run-rpc-node-with-nearup.md index a873393..a815333 100644 --- a/docs/rpc/run-rpc-node-with-nearup.md +++ b/docs/rpc/run-rpc-node-with-nearup.md @@ -77,49 +77,10 @@ Then run: $ nearup stop ``` -Retrieve a copy of the latest RPC snapshot from S3 using rclone: -Prerequisite: +### Retrieve a copy of the latest RPC snapshot: -Recommended download client [`rclone`](https://rclone.org). -This tool is present in many Linux distributions. There is also a version for Windows. -And its main merit is multithread. -You can [read about it on](https://rclone.org) -** rclone version needs to be v1.66.0 or higher - -First, install rclone: -``` -$ sudo -v ; curl https://rclone.org/install.sh | sudo bash -``` -Next, prepare config, so you don't need to specify all the parameters interactively: -``` -mkdir -p ~/.config/rclone -touch ~/.config/rclone/rclone.conf -``` - -, and paste exactly the following config into `rclone.conf`: -``` -[near_cf] -type = s3 -provider = AWS -download_url = https://dcf58hz8pnro2.cloudfront.net/ -acl = public-read -server_side_encryption = AES256 -region = ca-central-1 - -``` - -```bash -$ rclone copy --no-check-certificate near_cf://near-protocol-public/backups/testnet/rpc/latest ./ -$ LATEST=$(cat latest) -$ rclone copy --no-check-certificate --progress --transfers=6 --checkers=6 \ - near_cf://near-protocol-public/backups/testnet/rpc/${latest:?} ~/.near/data -``` - - -Finally, run the following command and the node should start syncing headers: -```bash - $ nearup run testnet -``` +The latest daily snapshots are made available to the public by FastNear, and can be used to set up a validator node or RPC. +For detailed instructions, please refer to [HERE](https://docs.fastnear.com/docs/snapshots). >Got a question? From 9b6cb7e80dbb4cf7de190ee727b6b2d5c94968e9 Mon Sep 17 00:00:00 2001 From: walnut-the-cat <122475853+walnut-the-cat@users.noreply.github.com> Date: Tue, 4 Feb 2025 10:59:30 -0800 Subject: [PATCH 2/6] Update run-rpc-node-with-nearup.md --- docs/rpc/run-rpc-node-with-nearup.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/rpc/run-rpc-node-with-nearup.md b/docs/rpc/run-rpc-node-with-nearup.md index a815333..45102fc 100644 --- a/docs/rpc/run-rpc-node-with-nearup.md +++ b/docs/rpc/run-rpc-node-with-nearup.md @@ -81,7 +81,3 @@ Then run: The latest daily snapshots are made available to the public by FastNear, and can be used to set up a validator node or RPC. For detailed instructions, please refer to [HERE](https://docs.fastnear.com/docs/snapshots). - ->Got a question? - - Ask it on StackOverflow! From c179d17f0d100635a51bdefd99e96d767cabdc13 Mon Sep 17 00:00:00 2001 From: walnut-the-cat <122475853+walnut-the-cat@users.noreply.github.com> Date: Tue, 4 Feb 2025 11:01:17 -0800 Subject: [PATCH 3/6] Update run-rpc-node-without-nearup.md --- docs/rpc/run-rpc-node-without-nearup.md | 38 ++----------------------- 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/docs/rpc/run-rpc-node-without-nearup.md b/docs/rpc/run-rpc-node-without-nearup.md index bb81967..7a18967 100644 --- a/docs/rpc/run-rpc-node-without-nearup.md +++ b/docs/rpc/run-rpc-node-without-nearup.md @@ -117,42 +117,8 @@ This command will create the required directory structure and will generate `con The node is ready to be started. However, you must first sync up with the network. This means your node needs to download all the headers and blocks that other nodes in the network already have. -Prerequisite: - -Recommended download client [`rclone`](https://rclone.org). -This tool is present in many Linux distributions. There is also a version for Windows. -And its main merit is multithread. -You can [read about it on](https://rclone.org) -** rclone version needs to be v1.66.0 or higher - -First, install rclone: -``` -$ sudo -v ; curl https://rclone.org/install.sh | sudo bash -``` -Next, prepare config, so you don't need to specify all the parameters interactively: -``` -mkdir -p ~/.config/rclone -touch ~/.config/rclone/rclone.conf -``` - -, and paste exactly the following config into `rclone.conf`: -``` -[near_cf] -type = s3 -provider = AWS -download_url = https://dcf58hz8pnro2.cloudfront.net/ -acl = public-read -server_side_encryption = AES256 -region = ca-central-1 - -``` - -```bash -$ rclone copy --no-check-certificate near_cf://near-protocol-public/backups/testnet/rpc/latest ./ -$ LATEST=$(cat latest) -$ rclone copy --no-check-certificate --progress --transfers=6 --checkers=6 \ - near_cf://near-protocol-public/backups/testnet/rpc/${latest:?} ~/.near/data -``` +The latest daily snapshots are made available to the public by FastNear, and can be used to set up a validator node or RPC. +For detailed instructions, please refer to [HERE](https://docs.fastnear.com/docs/snapshots). ### 5. Run the node {#5-run-the-node} To start your node simply run the following command: From 567757353f93709c4870b1ad75bb7b68d7eec41c Mon Sep 17 00:00:00 2001 From: walnut-the-cat <122475853+walnut-the-cat@users.noreply.github.com> Date: Tue, 4 Feb 2025 11:02:18 -0800 Subject: [PATCH 4/6] Update run-rpc-node-without-nearup.md --- docs/rpc/run-rpc-node-without-nearup.md | 40 ++----------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/docs/rpc/run-rpc-node-without-nearup.md b/docs/rpc/run-rpc-node-without-nearup.md index 7a18967..735c773 100644 --- a/docs/rpc/run-rpc-node-without-nearup.md +++ b/docs/rpc/run-rpc-node-without-nearup.md @@ -195,44 +195,10 @@ This command will create the required directory structure by generating a `confi The node is ready to be started. However, you must first sync up with the network. This means your node needs to download all the headers and blocks that other nodes in the network already have. -Prerequisite: - -Recommended download client [`rclone`](https://rclone.org). -This tool is present in many Linux distributions. There is also a version for Windows. -And its main merit is multithread. -You can [read about it on](https://rclone.org) -** rclone version needs to be v1.66.0 or higher - -First, install rclone: -``` -$ sudo -v ; curl https://rclone.org/install.sh | sudo bash -``` -Next, prepare config, so you don't need to specify all the parameters interactively: -``` -mkdir -p ~/.config/rclone -touch ~/.config/rclone/rclone.conf -``` - -, and paste exactly the following config into `rclone.conf`: -``` -[near_cf] -type = s3 -provider = AWS -download_url = https://dcf58hz8pnro2.cloudfront.net/ -acl = public-read -server_side_encryption = AES256 -region = ca-central-1 - -``` - -```bash -$ rclone copy --no-check-certificate near_cf://near-protocol-public/backups/mainnet/rpc/latest ./ -$ LATEST=$(cat latest) -$ rclone copy --no-check-certificate --progress --transfers=6 --checkers=6 \ - near_cf://near-protocol-public/backups/mainnet/rpc/${latest:?} ~/.near/data -``` +The latest daily snapshots are made available to the public by FastNear, and can be used to set up a validator node or RPC. +For detailed instructions, please refer to [HERE](https://docs.fastnear.com/docs/snapshots). -### 6. Run the node {#5-run-the-node} +### 5. Run the node {#5-run-the-node} To start your node simply run the following command: ```bash From bfda35e2c5e8769e476fab32f16bf55d660d3e94 Mon Sep 17 00:00:00 2001 From: walnut-the-cat <122475853+walnut-the-cat@users.noreply.github.com> Date: Tue, 4 Feb 2025 11:04:50 -0800 Subject: [PATCH 5/6] Delete docs/src/redirects/external-sites.json --- docs/src/redirects/external-sites.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 docs/src/redirects/external-sites.json diff --git a/docs/src/redirects/external-sites.json b/docs/src/redirects/external-sites.json deleted file mode 100644 index 5fc3771..0000000 --- a/docs/src/redirects/external-sites.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/intro/snapshots": "https://docs.fastnear.com/docs/snapshots", -} From 32d1896fca6e7a0bbbae60b86a023496c8a1e8b2 Mon Sep 17 00:00:00 2001 From: walnut-the-cat <122475853+walnut-the-cat@users.noreply.github.com> Date: Tue, 4 Feb 2025 11:06:08 -0800 Subject: [PATCH 6/6] Update snapshots.md --- docs/intro/snapshots.md | 74 ++--------------------------------------- 1 file changed, 2 insertions(+), 72 deletions(-) diff --git a/docs/intro/snapshots.md b/docs/intro/snapshots.md index b06a1a7..884326c 100644 --- a/docs/intro/snapshots.md +++ b/docs/intro/snapshots.md @@ -6,80 +6,10 @@ sidebar_position: 3 description: Node Data Snapshots --- - -### !!!Note!!! -As the NEAR ecosystem continues to decentralize, Pagoda has cease operations and decentralize its functions into NEAR ecosystem teams and committees. -FastNEAR will be the sole provider of snapshots downloads starting Jan 1, 2025. Please visit https://docs.fastnear.com/docs/snapshots for more details. - ## Overview Before you start running a node, you must first sync with the network. This means your node needs to download all the headers and blocks that other nodes in the network already have. You can speed up this process by downloading the latest data snapshots from a public cloudfront endpoint. -Here are the available snapshots directories based on node type and network. Please note that the RPC snapshots are updated every 12 hours. Split-Storage Archival snapshots are updated every 72 hours due to the size of cold storage data. - - -| Node Type and Network| CloudFront Path | -| -------------------- | ---------------------------------------------------------------------------------------| -| RPC testnet | `https://dcf58hz8pnro2.cloudfront.net/backups/testnet/rpc/latest` | -| RPC mainnet | `https://dcf58hz8pnro2.cloudfront.net/backups/mainnet/rpc/latest` | -| Archival testnet | `https://dcf58hz8pnro2.cloudfront.net/backups/testnet/archive/latest_split_storage` | -| Archival mainnet | `https://dcf58hz8pnro2.cloudfront.net/backups/mainnet/archive/latest_split_storage` | - ----- - -## Sample instruction - -Prerequisite: - -Recommended download client [`rclone`](https://rclone.org). -This tool is present in many Linux distributions. There is also a version for Windows. -And its main merit is multithread. -You can [read about it on](https://rclone.org) -** rclone version needs to be v1.66.0 or higher - -First, install rclone: -``` -$ sudo -v ; curl https://rclone.org/install.sh | sudo bash -``` -Next, prepare config, so you don't need to specify all the parameters interactively: -``` -mkdir -p ~/.config/rclone -touch ~/.config/rclone/rclone.conf -``` - -, and paste exactly the following config into `rclone.conf`: -``` -[near_cf] -type = s3 -provider = AWS -download_url = https://dcf58hz8pnro2.cloudfront.net/ -acl = public-read -server_side_encryption = AES256 -region = ca-central-1 - -``` -Commands to run for RPC|Validator Data Download: -``` -chain="mainnet" # or "testnet" -kind="rpc" -rclone copy --no-check-certificate near_cf://near-protocol-public/backups/${chain:?}/${kind:?}/latest ./ -latest=$(cat latest) -rclone copy --no-check-certificate --progress --transfers=6 --checkers=6 \ - near_cf://near-protocol-public/backups/${chain:?}/${kind:?}/${latest:?} ~/.near/data -``` - -Commands to run for Archival Split Storage Data Download: -``` -chain="mainnet" # or "testnet" -kind="archive" -rclone copy --no-check-certificate near_cf://near-protocol-public/backups/${chain:?}/${kind:?}/latest_split_storage ./ -latest=$(cat latest_split_storage) -rclone copy --no-check-certificate --progress --transfers=6 --checkers=6 \ - near_cf://near-protocol-public/backups/${chain:?}/${kind:?}/${latest:?} ~/.near/data -``` - - +The latest daily snapshots are made available to the public by FastNear, and can be used to set up a validator node or RPC. ->Got a question? - - Ask it on StackOverflow! +For detailed instructions, please refer to [HERE](https://docs.fastnear.com/docs/snapshots).