-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BUG] Investigate solutions to infinite misbehaviour reporting #617
Comments
We need a way of capping how many misbehavior reports any given authority can submit and process. Let's suppose there is a constant limit of Z misbehavior reports per authority per session. Each node will locally keep track of how many misbehavior reports they've submitted per session. Of course, this can be abused, so, we will also need an on-chain hashmap On-chain, if the number of misbehavior reports has been reached, then, we don't process the report. Since the local node also keeps track of how many misbehavior reports they've sent, then, we can assume that if a node tries to submit more than allowed, our on-chain logic can file a misbehaving report against the sender themself for trying to send over the limit (or possibly, even removing them from the set of best authorities). In short, this means we will have logic for preventing misuse of the misbehavior system. |
Currently, misbehaviour reports never touch the chain until we have |
Overview
We don't want to get stuck in an infinite misbehaviour loop. Therefore, we need to think of workarounds here and begin to discuss them. The hope being that we will identify and implement new ideas to prevent these loops.
The text was updated successfully, but these errors were encountered: