github pokt-network/pocket-core RC-0.7.0

latest releases: RC-0.12.0, proofofconcept, RC-0.11.3...
pre-release2 years ago

RC-0.7.0

This Upgrade is in line with PIP-7 and enables the validator/servicer split with an upgrade Tx sent by the DAO,
for more information check this: PIP-7.

This change is backwards compatible but includes a future consensus rule change.

The consensus rule change is activated after the chain reaches a specific height designated by the DAO in an upcoming upgrade transaction, so please update as soon as possible to avoid your node falling out of consensus when the upgrade height is reached.

Upgrade height: TBD

Thank you again for your collaboration.

Upgrade: (Same as previous releases)

  1. Shutdown Pocket Core

  2. !!! 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
    
  3. 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-core

    Enter: pocket version
    You should see anything except RC-0.7.0

    To grab the latest packages and tags we are going to clean the cache, swap branches to the latest tag using:
    go clean --cache
    git pull
    git checkout tags/RC-0.7.0
    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.7.0

    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/pocket

    After it builds, make sure you are on the latest version by entering in:
    pocket version

    Output will be RC-0.7.0

    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.7.0

    or

    docker pull poktnetwork/pocket:RC-0.7.0

    Depending on which of the 2 Docker images you want to use.

  4. Enable the Cache:
    The cache is opt-in only. It can be enabled by using the flag --useCache in the start command. It increases the use of RAM to reduce the use of CPU. Make sure to have around 512MB of RAM above the normal usage. When running in a container, ensure a strict RAM limit, otherwise consumption will rise until the orchestrator resets the container. Startup times can increase significantly depending on your hardware. Please allow time for the cache to warm.

Example usage with cache:
pocket start --mainnet --useCache

Don't miss a new pocket-core release

NewReleases is sending notifications on new releases.