Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.7.8 - Update VRSC, KMD and mm2 #529

Merged
merged 16 commits into from
Nov 15, 2023
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ General [Setup instructions](https://github.com/KomodoPlatform/Documentation/blo
| MCL | [marmarachain](https://github.com/marmarachain/marmara) | [c675fcb](https://github.com/marmarachain/marmara/tree/c675fcb5bce34b6bb2ae8032109302a7473035cb) | [![dPOW Status](https://badges.komodo.earth/svg/MCL_badge.svg?maxAge=60)](https://komodostats.com) | dPoW-3p |
| MIL | [mil](https://github.com/emc2foundation/mil) | [5df2e4d](https://github.com/emc2foundation/mil/tree/5df2e4d569e546c71e730aa85ad2a0813f3b6369) | [![dPOW Status](https://badges.komodo.earth/svg/MIL_badge.svg?maxAge=60)](https://komodostats.com) | dPoW-3P |
| TOKEL | [tokel](https://github.com/TokelPlatform/tokel) | [f1fc997](https://github.com/TokelPlatform/tokel/tree/f1fc997c5b66ea53992c77a8478aa5a157c4fbc3) | [![dPOW Status](https://badges.komodo.earth/svg/TOKEL_badge.svg?maxAge=60)](https://komodostats.com) | dPoW-3P |
| VRSC | [verus](https://github.com/VerusCoin/VerusCoin) | [bdcad5e](https://github.com/VerusCoin/VerusCoin/tree/bdcad5eba2f26e6b78a0831fc1656ce8eadb156c) | [![dPOW Status](https://badges.komodo.earth/svg/VRSC_badge.svg?maxAge=60)](https://komodostats.com) | dPoW-3P |
| VRSC | [verus](https://github.com/VerusCoin/VerusCoin) | [54e0cf2](https://github.com/VerusCoin/VerusCoin/tree/54e0cf27af6cc1f0204830f7009e10d9a05d040b) | [![dPOW Status](https://badges.komodo.earth/svg/VRSC_badge.svg?maxAge=60)](https://komodostats.com) | dPoW-3P |
4 changes: 4 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.7.8

- Updates VRSC to [`54e0cf2`](https://github.com/VerusCoin/VerusCoin/tree/54e0cf27af6cc1f0204830f7009e10d9a05d040b)

## 0.7.7

- Updates VRSC to [`bdcad5e`](https://github.com/VerusCoin/VerusCoin/tree/bdcad5eba2f26e6b78a0831fc1656ce8eadb156c)
Expand Down
8 changes: 8 additions & 0 deletions doc/seed_version_epochs.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
},
"371595d6c": {
"version": "1.0.4",
"end": 1688829251
},
"19c8218": {
"version": "1.0.6",
"end": 1700697600
},
"79f6205": {
"version": "1.0.7",
"end": 1987654321
}
}
114 changes: 114 additions & 0 deletions doc/update078.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
## dPoW 0.7.8 update information

- On your 3P node, update your Verus Coin's codebase to [`54e0cf2`](https://github.com/VerusCoin/VerusCoin/tree/54e0cf27af6cc1f0204830f7009e10d9a05d040b), build it and then restart it.

### Update VSRC & KMD

#### Using docker setup

```bash
cd notary_docker_3p
git pull
./update
./start
```

#### Using other setup

- Build Verus Coin

```bash
vrsc_commit='54e0cf2'
cd ~/VerusCoin
git pull
git checkout ${vrsc_commit}
./zcutil/build.sh -j$(expr $(nproc) - 1)
```

- Restart it

```bash
cd ~/VerusCoin/src
./verus stop
source ~/dPoW/iguana/pubkey.txt
./verusd -pubkey=$pubkey &
```

- Build Komodod (main and 3p)

```bash
kmd_commit='d9144d0'
cd ~/komodo
git pull
git checkout ${kmd_commit}
./zcutil/build.sh -j$(expr $(nproc) - 1)
```

- Restart komodo (main)

```bash
cd ~/komodo/src
./komodo-cli stop
source ~/dPoW/iguana/pubkey.txt
./komodod -gen -genproclimit=1 -minrelaytxfee=0.000035 -opretmintxfee=0.004 -notary=.litecoin/litecoin.conf -pubkey=$pubkey &
```

- Restart komodo (3p)

```bash
cd ~/komodo/src
./komodo-cli stop
source ~/dPoW/iguana/pubkey.txt
./komodod -minrelaytxfee=0.000035 -opretmintxfee=0.004 -notary -pubkey=$pubkey &
```

#### Update your dPoW repo

```bash
cd ~/dPoW
git checkout master
git pull
```

Once complete, monitor your node to ensure it is running correctly and notarisations are progressing.

### Update your seed node

Update your MM2 seed node codebase to the [latest release](https://github.com/KomodoPlatform/komodo-defi-framework/releases/tag/v1.0.7-beta) [`79f6205`](https://github.com/KomodoPlatform/komodo-defi-framework/tree/79f620559a635704959d3e88067f7ffe5ee30f1f)

#### If using the https://github.com/smk762/nn_mm2_seed repo, update it and restart

```bash
cd ~/nn_mm2_seed
git pull
./update_coins.sh
./update_mm2.sh
./stop_mm2.sh
./run_mm2.sh
```

- Run `./version.sh` to confirm the version is `v1.0.7-beta`
- Once complete, check the mm2 logs to confirm it is running correctly.

#### If using the https://github.com/smk762/notary_docker_3p repo, update it and restart

```bash
cd ~/notary_docker_3p
git pull
./update mm2
./start mm2
```

- Once complete, check the mm2 logs to confirm it is running correctly.
- Run `cd mm2 && ./version` to confirm the version is `v1.0.7-beta`

### Update Dragon Node

If using https://github.com/smk762/dragon_node repo, update it to align with the latest seed node version:

```bash
cd ~/dragon_node
git checkout season-seven
git pull
./stats
```
2 changes: 1 addition & 1 deletion iguana/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.6
0.7.8