Skip to content

Commit

Permalink
Merge pull request #19 from klaytn/update-url
Browse files Browse the repository at this point in the history
update url
  • Loading branch information
markyim-kaia authored Oct 7, 2024
2 parents 012e472 + 4a56e0f commit e7dc58a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions content/30_download_chaindata/10_download_chaindata.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ _**[Axel](https://github.com/axel-download-accelerator/axel) tries to accelerate
(Amazon Linux 2) $ sudo amazon-linux-extras install epel
(CentOS) $ sudo yum install epel-release -y
$ sudo yum install axel -y
$ URL=`curl -s https://packages.kaia.io/cypress/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'`
$ URL=`curl -s https://packages.kaia.io/mainnet/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'`
$ echo $URL
https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/cypress/pruning/klaytn-cypress-pruning-chaindata-20240131010111.tar.gz
https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/mainnet/pruning/kaia-mainnet-pruning-chaindata-20240131010111.tar.gz
$ axel -n8 $URL
{{< /highlight >}}
##### 2) For PN
Expand All @@ -48,7 +48,7 @@ $ axel -n8 $URL
$ sudo yum install axel -y
$ URL=`curl -s https://packages.kaia.io/cypress/pruning-chaindata/ |grep latest |awk -F'"' '{print $2}'`
$ echo $URL
https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/cypress/pruning/klaytn-cypress-pruning-chaindata-20240131010111.tar.gz
https://s3.ap-northeast-2.amazonaws.com/klaytn-chaindata/mainnet/pruning/kaia-mainnet-pruning-chaindata-20240131010111.tar.gz
$ axel -n8 $URL
{{< /highlight >}}

Expand Down
4 changes: 2 additions & 2 deletions content/30_download_chaindata/20_unarchive_chaindata.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ draft: false

##### 1) For CN,
{{< highlight html >}}
$ tar -C <your_klaytn_home_path>/kcnd/data -xvf klaytn-cypress-pruning-chaindata-20240131010151.tar.gz --exclude klay/chaindata/receipts
$ tar -C <your_klaytn_home_path>/kcnd/data -xvf kaia-mainnet--pruning-chaindata-20240131010151.tar.gz --exclude klay/chaindata/receipts
{{< /highlight >}}

##### 2) For PN,
{{< highlight html >}}
$ tar -C <your_klaytn_home_path>/kpnd/data -xvf klaytn-cypress-pruning-chaindata-20240131010151.tar.gz --exclude klay/chaindata/receipts
$ tar -C <your_klaytn_home_path>/kpnd/data -xvf kaia-mainnet--pruning-chaindata-20240131010151.tar.gz --exclude klay/chaindata/receipts
{{< /highlight >}}

{{< line_break >}}
Expand Down

0 comments on commit e7dc58a

Please sign in to comment.