Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
As implementation is almost ready and merged into testnet_22. I'm closing this discussion :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
Currently, nothing prevent a user to produce multiple blocks (for the same Slot) or to endorse a block multiple times.
By allowing nodes to produce a new kind of operations:
Denunciation
; every user will have an incentive of not doing it.If an invalid Denunciation will just be ignored, a valid Denunciation will slash some
locked rolls
.Note that this proposal is to prevent against 'rational' user but cannot do anything against 'pathological' user
that just want to disturb or break the blockclique (at any cost).
Block Denunciation
A "Block Denunciation" is a new kind of "Operation":
Proof
The proof will be:
Checking that the proof is valid, consists of the following checks:
Endorsement Denunciation
An "Endorsement Denunciation" is a new kind of "Operation":
Proof
The proof will be:
Checking that the proof is valid, consists of the following checks:
Locked rolls (aka Deferred credit)
When a Denunciation is proven valid, we then need to ensure that the user have sufficient funds. If we cannot puncture on node
balance or staked rolls, we will use 'locked' rolls` (or Deferred credit). Selling a roll will lock it for some time (== 4 cycles). Note that it restricts
the time, a denunciation can be produced (A constant value will be defined for this).
When a denunciation is valid (and if balance is not enough), a roll (staked or locked) will be converted back to coins
and then split like:
BlockHeader modifications
For the denunciation proof to be trustable, the BlockHeader signature will be modified like:
Endorsement modifications
For the denunciation proof to be trustable, the Endorsement signature will be modified like:
Bootstrap modifications
Bootstrap needs to be modified to allow to stream some subtracted locked rolls.
Beta Was this translation helpful? Give feedback.
All reactions