30K Zip:
https://storage.googleapis.com/blockchains-data/data30045.zip
30K Backup Directory :
# You need the gsutil command
wget https://storage.googleapis.com/pub/gsutil.tar.gz
tar xfz gsutil.tar.gz -C $HOME
echo export PATH=${PATH}:$HOME/gsutil >> ~/.bashrc
# Download the datadir or pieces of it
gsutil -m cp -r gs://pocket-network-data/* <DATADIR>/data/
Upgrade: (Same as previous releases)
-
Shutdown Pocket Core
-
!!! Ensure golang version 1.16 !!! or > golang upgrade NOTE: This version is new so please ensure you are on 1.16 or later
### Startup script linux users might find this useful (BenVan's Validator Script Only) sudo apt-get update g install 1.16
-
Build from source, Homebrew or Docker:
To build the latest binary from source, follow these steps:
Navigate into your pocket-core directory:
Example: cd ~/go/src/github.com/pokt-network/pocket-coreEnter: pocket version
You should see:RC-0.6.3.5
(or older)To grab the latest packages and tags we are going to swap branches to the latest tag using:
git pull
git checkout tags/RC-0.6.3.6
Once you checked out the latest tag and branch, we are going to rebuild the binary by entering in:
go build -o $GOPATH/bin/pocket ./app/cmd/pocket_core/main.go
After it builds, make sure you are on the latest release version by entering in:
pocket version
Output will be
RC-0.6.3.6
If you built your binary using Homebrew, follow these steps to upgrade your binary:
In a terminal window, we are going to pull the latest tap by entering:
$ brew upgrade pokt-network/pocket-core/pocketAfter it builds, make sure you are on the latest version by entering in:
pocket versionOutput will be
RC-0.6.3.6
For individuals using Docker, all you will need to do to get the new container image is run:
docker pull poktnetwork/pocket-core:RC-0.6.3.6
or
docker pull poktnetwork/pocket:RC-0.6.3.6
Depending on which of the 2 Docker images you want to use.