Note: A more comprehensive guide will be provided in docs.lisk.com, this is a temporary solution
- Download new updates:
wget https://downloads.lisk.io/lisk/test/3.0.2/lisk-core-v3.0.2-linux-x64.tar.gz
wget https://downloads.lisk.io/lisk/test/3.0.2/lisk-core-v3.0.2-linux-x64.tar.gz.SHA256
- Verify checksum
sha256sum -c lisk-core-v3.0.2-linux-x64.tar.gz.SHA256
- Stop running Lisk Core
-
pm2 stop lisk-core
(If configured using pm2, if using other options please make sure to stop the lisk-core right after you forge)
-
- Backup (please create your backup directory
tar cf ~/dot_lisk.tar.gz ~/.lisk/
- Extract
tar xf /home/lisk/lisk-core-v3.0.2-linux-x64.tar.gz -C /home/lisk/
- Start Lisk Core
- Update pm2 config to include flag
--overwrite-config
(required only for first time for 3.0.2, from next restart you can remove this flag) pm2 start lisk-core
- Update pm2 config to include flag
- Sanity check
- Check for core version
lisk-core --version
- unlockFixHeight value for testnet is
14867989
and for mainnet16785878
- Check if the new unlockFixHeight is correctly set using command
grep unlockFixHeight /home/lisk/.lisk/lisk-core/config/testnet/config.json
- Check for core version
- Enable forging
- Follow docs Enabling forging - Lisk Core Docs