lotus
lotus copied to clipboard
Improve handling of conflicting dispute messages
Is your feature request related to a problem? Please describe.
The first party to successfully dispute a post wins. However, all parties need to pay gas.
Describe the solution you'd like
To reduce the effects of this, we should:
- Delay dispute messages by a small random amount (e.g., 100-400 epochs).
- Automatically replace dispute messages that have "lost" to a conflicting dispute message with a zero-send to save the gas.
This won't completely help (e.g., it won't prevent front-running) but will prevent a bunch of honest disputers firing all at the same time.