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

VRSC update v1.1.1-8 #526

Merged
merged 11 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) | [25f82df](https://github.com/VerusCoin/VerusCoin/tree/25f82df12aee24c64681ca69ddd21ae19528fe25) | [![dPOW Status](https://badges.komodo.earth/svg/VRSC_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 |
48 changes: 41 additions & 7 deletions doc/bible.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Notary Node Bible v1.2

<b>Introduction:</b> This is the Komodo Platform Notary Node Bible, a compendium with essential information, instructions, rules, policies, election procedures for the Komodo Notary Node network, links to other important documents, and more. This iteration of the NN bible comes into effect at the start of NN Season 6 (date TBA). Please read carefully.
<b>Introduction:</b> This is the Komodo Platform Notary Node Bible, a compendium with essential information, instructions, rules, policies, election procedures for the Komodo Notary Node network, links to other important documents, and more. This iteration of the NN bible comes into effect at the start of NN Season 7. Please read carefully.

#

Expand All @@ -13,7 +13,9 @@
4. [Responsibilities of a NN](#responsibilities-rights-and-duties-of-a-notary-node-operator)
5. [Notary Node regions](#notary-node-regions)
6. [Guidelines, general information and policies](#guidelines-general-information-and-policies)
7. [Code of Conduct](#code-of-conduct)
7. [dPoW Inprovement Proposals](#dpow-improvement-proposals)
8. [Code of Conduct](#code-of-conduct)


#

Expand Down Expand Up @@ -377,16 +379,48 @@ Operators are also encouraged to ask questions relating to setup and operation i
- Bandwidth: 100 Mbps or higher


### Polls and Voting:
## dPoW Improvement Proposals

Polls are executed on Github in form of an issue ticket and voting takes place by posting a signed message with your selection. A poll will remain open for a minimum of 30 days before being subject to closing. The Third Party KMD key it to be used for the signing your vote.
The dPoW Improvement Proposals [DIPS](https://github.com/KomodoPlatform/dips/) repository serves as a platform to facilitate discussion, collaboration and the review of proposed changes to dPow and the notary node operations. We believe that having an open and transparent process helps foster good governance and trust between the Komodo community and our development teams.

Poll outcomes will be ratified and enacted if a majority of signatures supports the poll, provided there is participation of > 43 nodes (67%)
Any external collaborator pull requests to the dPoW repository should be accompanied by DIP to explain the proposed changes. DIPs can also be submitted to discuss rule changes to the Notary Node bible (this document).

The Komodo team reserves the right to amend this guideline (governing participation in the dPoW operations) at any time. Modifications are transparently published on Github.
Once a DIP has been submitted:
- There will be a minimum of 2 weeks for comments regarding a DIP to be given after which it may be closed, or may proceed to a vote in order to ratify or reject the proposal.
- Upcoming votes will be announced in the #notary-nodes channel on the Komodo Discord server a minimum of 2 weeks prior to the initiation of a vote.
- The voting period will run for one week, with any past or present notary node eligible to vote.
- Votes will be validated by the Komodo team, and the results will be announced in the #notary-nodes channel on the Komodo Discord server no later than one week after the voting period ends.
- Votes are allocated 1:1 for each address used to run a main server notary node, for each season it was in use.
- Votes are to be cast via a signed message, generated by the address used in a notary's main notary node, for each season in was in use.
- The vote schedule will be determined by a consensus of current DEV node notaries, with respect to the nature of the proposed changes and the time remaining until a hardfork.
- Proposals which only attract 20 votes or less will be considered invalid, and the proposal rejected.
- Votes which attract at least 21 votes, but less than 33 votes will require a 2/3rds majority be considered valid. If this threshold is not achieved, the proposal will be reset and a new vote scheduled.

<br>

Signed messages must conform to the following format to be considered valid:

`{NOTARYNAME}_{REGION} S{SEASON_NUM} [supports|rejects] {DIP_NUM}`

For example:
```
$ komodo-cli signmessage RDragoNHdwovvsDLSLMiAEzEArAD3kq6FN "dragonhound_DEV S6 supports DIP0001"
> IDETpoMoWojS/bXCcLdMWyCRas1aL7NRnideIns0ega4HQYwJWjOfIv3hKNfSsZADxT+ZbWM2govNxCFh+esOtI=
```

The vote is then cast in the relevant DIP thread as a comment as below:
```
Notary: dragonhound_DEV
Season: S6
Address: RDragoNHdwovvsDLSLMiAEzEArAD3kq6FN
Message: "dragonhound_DEV S6 supports DIP0001"
Signature: IDETpoMoWojS/bXCcLdMWyCRas1aL7NRnideIns0ega4HQYwJWjOfIv3hKNfSsZADxT+ZbWM2govNxCFh+esOtI=
```

It can then be validated with:
```
$ komodo-cli verifymessage RDragoNHdwovvsDLSLMiAEzEArAD3kq6FN "IDETpoMoWojS/bXCcLdMWyCRas1aL7NRnideIns0ega4HQYwJWjOfIv3hKNfSsZADxT+ZbWM2govNxCFh+esOtI=" "dragonhound_DEV S6 supports DIP0001"`
> true
```

## Code of Conduct

Expand Down
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.7

- Updates VRSC to [`bdcad5e`](https://github.com/VerusCoin/VerusCoin/tree/bdcad5eba2f26e6b78a0831fc1656ce8eadb156c)

## 0.7.6

- Updates VRSC to [`25f82df`](https://github.com/VerusCoin/VerusCoin/tree/25f82df12aee24c64681ca69ddd21ae19528fe25)
Expand Down
42 changes: 42 additions & 0 deletions doc/update077.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
### dPoW 0.7.7 update information

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

#### If using smk's docker setup

```bash
cd notary_docker_3p
git pull
./update vrsc # supply sudo password when asked
./start vrsc
```

#### If custom setup

- Build Verus Coin

```bash
vrsc_commit='bdcad5e'
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 &
```


#### Update your dPoW repo

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