-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Dispute distribution guide #3158
Conversation
roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Outdated
Show resolved
Hide resolved
roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Outdated
Show resolved
Hide resolved
roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Outdated
Show resolved
Hide resolved
roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Outdated
Show resolved
Hide resolved
roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Outdated
Show resolved
Hide resolved
roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Outdated
Show resolved
Hide resolved
| statements so they can include them in blocks. | ||
|
|
||
| We keep track of connected parachain validators and authorities and will issue | ||
| warnings in the logs if connected nodes are less than two thirds of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are validator operators meant to do in this situation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a live network - check their internet connection, on a test network: find the bug. Like we had the case already a couple of times that we were not connected properly and we did only realize because of other issues that have been caused by this. Dispute distribution already tries its best - it will try to send requests, even if the receiver is not connected to us and it will keep trying.
I was just thinking about disputes and because they are so critical, I wanted to do whatever I can to ensure our messages gets out, but general connection warnings should go to gossip support already, I guess. And warnings when a dispute is already happening are a bit late - still useful though as a additional safety guard though. If validators become aware of a dispute that did not work out for some weird reasons/bugs/whatever we still have governance - better than nobody noticing.
rphmeier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good modulo nits. I think the spam-resilience strategy makes sense and should protect against any practical attacks.
|
Follow-up changes should go in another PR. Thanks! |
Note: Guide PR needs update. The following things have changed:
There is no separate message for reporting unavailable candidates anymore, instead
ImportStatementsgot a more informative back channel:with
ImportStatementsResultlooking like this:Details in implementation PR.