DMDcoin / diamond-contracts-core

DMD v4 testnet on-chain logic
Other
7 stars 8 forks source link

Diamond Bonus Score system #171

Open SurfingNerd opened 1 year ago

SurfingNerd commented 1 year ago

Diamond Bonus Score

assumed network parameters:

stakingFixedEpochDuration: 43200

boundaries

ScoreMinimum: 1 ScoreMaximum: 1000

Positive Scores

StandbyBonus: 15

Negative Scores:

NoKeyWrite: 100 MaxBadPerformanceScore: 100 NoStandbyPenalty: 15 (Same value as StandbyBonus)

During the epoch penalties

If a Node lost connectivity, based on the connectivity tracker rules (2 / 3 Consensus), it automatically looses 1 Point every (stakingFixedEpochDuration() / MaxBadPerformanceScore = 43200 / 100 = 432 seconds = 7,2 minutes.

At the beginning of the epoch end we give out Penalty Scores for Nodes depending on their performance: every Node receives a BadPerformanceScore penalty if they are still unavailable, with the same rules defined in During the Epoch.

Stand by bonus

Keygen Phase:

Likelihood:

Dao Value Guards

cryptonit commented 2 months ago

minimum score 1

1000 scoree means full posdao chance 1000/1000 (based on staked coins) 1 scoree means 1/1000 of the full posdao chance to come into the set everything between proportional between......