Replies: 4 comments 3 replies
-
@xoloki are you familiar with what would happen here? |
Beta Was this translation helpful? Give feedback.
-
@kantai: "I wonder if there's a "middle path" here -- treat it as a catastrophic failure, but have a recovery plan" |
Beta Was this translation helpful? Give feedback.
-
Here is my sort of hard to follow brain dump. :P Failure case: Signers N+1 are failing (stacker db is broken, a ton of signers are off line, etc.) to set DKG in the clarity contract Signers N+1 failing because of malicious behaviour: Signers N+1 failing for none malicious reasons: -> No one is penalized but both signers N and N+1 are locked and both are motivated to get them unlocked / start receiving rewards
All these caveat/penalities can be ignored for the initial release. Their logic is the hardest part in my own opinion. This would mean that we would just need logic to ensure tenure extends when DKG is not set yet. and stx remain locked until the handoff occurs. I may very well be missing something here though that makes the above incredibly difficult (even without the penalization logic) |
Beta Was this translation helpful? Give feedback.
-
My thoughts on this so far are in the same vein as @jferrant's write-up -- find a way to keep the signers in the now-finished reward cycle to stick around long enough for the signers in cycle N+1 to come online. Suppose the chain freezes for the entirety of the prepare phase, and comes back online at the start of the next reward phase. Then, the following happens:
I think this works because it incentivies the right people to take the right actions:
I'm not sure further punishment is needed beyond that which system unavailability metes out. New stackers already miss PoX payouts from the system not being online, and once they come online, they'll be obliged under the current sBTC rules to process deposits and withdrawals as soon as possible (since only once they're all cleared will the PoX rewards resume). |
Beta Was this translation helpful? Give feedback.
-
It is possible, but unlikely, that DKG will take longer than the reward cycle. In this case, the next reward cycle begins without an aggregate public key. In the current SIP, this would lead to a chain stall because there'd be no way to advance the Stacks chain state.
How confident are we that this never occurs?
Beta Was this translation helpful? Give feedback.
All reactions