-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/KomodoPlatform/dPoW into dev
- Loading branch information
Showing
28 changed files
with
407 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,15 @@ | ||
{ | ||
"KMD": "0adeeab", | ||
"KMD": "2651eaf", | ||
"LTC": "0.16", | ||
"CCL": "0adeeab", | ||
"CLC": "0adeeab", | ||
"DOC": "0adeeab", | ||
"GLEEC": "0adeeab", | ||
"ILN": "0adeeab", | ||
"KOIN": "0adeeab", | ||
"MARTY": "0adeeab", | ||
"NINJA": "0adeeab", | ||
"PIRATE": "0adeeab", | ||
"SUPERNET": "0adeeab", | ||
"VOTE2024": "0adeeab", | ||
"AYA": "d40b0d7", | ||
"CHIPS": "f0dfd82", | ||
"THC": "0adeeab", | ||
"EMC2": "8d988f0", | ||
"MCL": "4b73b24", | ||
"MIL": "5df2e4d", | ||
"TOKEL": "28939c1" | ||
"CCL": "2651eaf", | ||
"CLC": "2651eaf", | ||
"DOC": "2651eaf", | ||
"GLEEC": "2651eaf", | ||
"ILN": "2651eaf", | ||
"KOIN": "2651eaf", | ||
"MARTY": "2651eaf", | ||
"PIRATE": "2651eaf", | ||
"THC": "2651eaf", | ||
"MCL": "7938b2c", | ||
"TOKEL": "b97260d" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# dPoW 0.8.0 update information | ||
|
||
|
||
## GLEEC Update: Prior season nodes only | ||
#### Stop `GLEEC`, and move the data folder | ||
|
||
```bash | ||
komodo-cli -ac_name=GLEEC stop | ||
mv ~/.komodo/GLEEC ~/.komodo/GLEEC_OLD | ||
``` | ||
## All nodes | ||
#### Launch new version of `GLEEC` | ||
|
||
```bash | ||
source ~/dPoW/iguana/pubkey.txt | ||
komodod -pubkey=$pubkey -ac_name=GLEEC -ac_supply=1000000000 -ac_end=1 -ac_public=1 -ac_staked=50 -addnode=65.21.52.182 -addnode=135.181.80.132 & | ||
|
||
# Import Main server private key | ||
komodo-cli -ac_name=GLEEC importprivkey ${YOUR_MAIN_SERVER_PRIVATE_KEY} | ||
``` | ||
|
||
#### Launch old version of `GLEEC` with `datadir` param | ||
|
||
```bash | ||
source ~/dPoW/iguana/pubkey.txt | ||
komodod -pubkey=$pubkey -ac_name=GLEEC -ac_supply=210000000 -ac_public=1 -ac_staked=100 -addnode=95.217.161.126 -addnode=209.222.101.247 -addnode=103.195.100.32 -datadir=${HOME}/.komodo/GLEEC_OLD & | ||
``` | ||
|
||
#### Check GLEEC installation | ||
|
||
When both GLEEC daemons are running, check your GLEEC installation using `./dPoW/iguana/checkGLEEC.sh`. If everything is correct, it should display "GLEEC install - Ok!". In case of errors, verify that your GLEEC chain launch parameters are correct and that the directory names match the documentation (i.e., GLEEC_OLD for the old GLEEC chain and GLEEC for the new one). Try to resolve the errors by resyncing the chains or correcting any issues you find. | ||
|
||
#### Open the Iguana P2P ports | ||
|
||
Please note that iguana ports were changed to 13348 for main and 13345 3rd party networks | ||
After git pull restart your iguana and adjust your firewall settings accordingly, e.g. : | ||
|
||
- `sudo ufw allow 13848/tcp comment 'iguana s8 mainnet p2p'` | ||
- `sudo ufw allow 13845/tcp comment 'iguana s8 3rd p2p' ` | ||
|
||
If you are a returning Notary Node operator, don't forget to close the Season 7 Iguana ports and the ports for removed coins once Season 8 begins. Follow the instructions in [https://www.cyberciti.biz/faq/how-to-delete-a-ufw-firewall-rule-on-ubuntu-debian-linux/](https://www.cyberciti.biz/faq/how-to-delete-a-ufw-firewall-rule-on-ubuntu-debian-linux/). | ||
|
||
#### Update and restart Iguana | ||
|
||
```bash | ||
cd ~/dPoW/iguana | ||
git checkout master | ||
git pull | ||
make | ||
./m_notary_main | ||
./m_notary_3rdparty # or ./m_notary_3rdparty_docker | ||
``` | ||
|
||
|
||
#### Would you like to know more? | ||
|
||
Full Setup Instructions at [https://komodoplatform.com/en/docs/notary/](https://komodoplatform.com/en/docs/notary/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# dPoW 0.8.1 update information | ||
|
||
### Stop and remove `SUPERNET` & `NINJA` | ||
|
||
```bash | ||
komodo-cli -ac_name=SUPERNET stop | ||
komodo-cli -ac_name=NINJA stop | ||
rm -rf ~/.komodo/SUPERNET | ||
rm -rf ~/.komodo/NINJA | ||
``` | ||
|
||
### Prepare GLEEC_OLD datafolder by create a symlink (mandatory) | ||
|
||
ln -s -f $HOME/.komodo/GLEEC_OLD/GLEEC.conf $HOME/.komodo/GLEEC_OLD/GLEEC_OLD.conf | ||
|
||
### Update `komodod` on main node | ||
|
||
```bash | ||
cd ~/komodo/ | ||
git fetch --all | ||
git checkout 2651eaf | ||
./zcutil/build.sh -j$(nproc) | ||
``` | ||
|
||
### Restart the old GLEEC chain | ||
|
||
```bash | ||
komodo-cli -ac_name=GLEEC -datadir=$HOME/.komodo/GLEEC_OLD stop; sleep 5 | ||
~/dPoW/iguana/checkGLEEC.sh # check the GLEEC installation | ||
source pubkey.txt | ||
komodod -ac_name=GLEEC -ac_supply=210000000 -ac_public=1 -ac_staked=100 -datadir=${HOME}/.komodo/GLEEC_OLD -addnode=95.217.161.126 -addnode=209.222.101.247 -addnode=103.195.100.32 & | ||
``` | ||
|
||
### Make sure the old GLEEC chain is running smoothly and has caught up with the latest notarizations | ||
```bash | ||
komodo-cli -ac_name=GLEEC -datadir=$HOME/.komodo/GLEEC_OLD getinfo | ||
# It should look like this: https://github.com/KomodoPlatform/komodo/pull/637#issue-2586189960 | ||
# i.e., the notarized block height should be close to the longest chain, and the name should be GLEEC_OLD. | ||
``` | ||
|
||
This ensures the old GLEEC chain is functioning as expected and is up-to-date with notarizations. | ||
|
||
### Restart Iguana | ||
|
||
```bash | ||
# Update dPoW repo | ||
cd ~/dPoW | ||
git checkout master | ||
git pull | ||
|
||
# Restart Iguana | ||
pkill -9 iguana | ||
cd iguana | ||
./m_notary_build | ||
./m_notary_main | ||
``` | ||
|
||
Make sure notarisations are progressing. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.