-
Notifications
You must be signed in to change notification settings - Fork 14
EPIP 1 Update Tutorial
EPIP-1 has been passed in EpiK PreDAO with 37.68% of EPKers involved and 71.92% of them supported. The result is described here.
EPIP-1 aims to change the lock-up period of the basic pledge from 0 days to 60 days.
If you want to activate a knowledge node, you need to pledge 1000 EPK as the basic collateral. Before EPIP-1 taking effect, you could withdraw the basic collateral immediately. After EPIP-1 taking effect, you have to wait 60 days after applying for withdrawal before getting back the 1000 EPK.
In order to avoid unrecoverable failures of the nodes, the efficiency of the use of funds is reduced, we have upgraded go-epik to support the transfer pledge function. The latest version will be committed to go-epik/master branch tagged with EPIP-1 Update at Sep 23 15:25:00 UTC 2021.
- Support the basic pledge transfer, pledge address can transfer the basic pledge to other miners
- Fixed an issue where data could not be re-sealed after SEAL failed;
- Optimize the calculation of domain expert voting rewards;
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>
Update the latest version of the code and restart the node after compilation.
cd go-epik
git checkout master
git pull
git log
check the latest commit hash is f893b46c0688ef8b0b95cb1f634fded30a96c247
make all
make install
epik daemon
epik-miner run
This upgrade is mandatory for all knowledge nodes. Otherwise, old knowledge nodes can't produce blocks to get rewards.