Skip to content

EPIP 1 Patch Update Tutorial

EpiK Tech edited this page Oct 7, 2021 · 2 revisions

Background

EPIP-1 Patch is exactly the patch of EPIP-1 Update. In EPIP-1 Update, a new function is added to transfer all basic pledge from one knowledge node to another without waiting for 60 days. In EPIP-1 Patch Update, you will be allowed to assign a specific amount instead of transferring all basic pledge.

EPIP-1 Patch Update

Features

  • Support the specific transfer amount in the function of transferring the basic pledge from one miner to another.

How to Transfer Pledge

If you want to transfer your basic pledge from a knowledge node to another, you could benefit from the new function of transferring basic pledge without applying for withdrawal and waiting for 60 days and re-pledging again.

epik client mining-pledge transfer <srcMinerId> <destMinerId> <amount optional>
  • All basic pledge will be transferred by default if the amount is empty.
  • The unit of amount is EPK.

How to Upgrade

Update the latest version of the code and restart the node after compilation.

Step 1 - download the latest codes

cd go-epik
git checkout master
git pull

Step 2 - check the commit hash

git log

check the latest commit hash is a53d087e8df2f37c07d8630d00d8ebf21bb210ab

Step 3 - rebuild the codes

make all
make install

Step 2 - restart daemon and miner.

epik daemon
epik-miner run

Notice

This upgrade is mandatory for all knowledge nodes. Otherwise, old knowledge nodes can't produce blocks to get rewards.