xaya / libxayagame

MIT License
21 stars 20 forks source link

Allow filing disputes at the same turn count as a previous resolution #51

Closed domob1812 closed 5 years ago

domob1812 commented 5 years ago

Currently, disputes and resolutions require that the turn count of the newly-proven state is higher than the current on-chain state. That has one issue, though: If I resolved a disupte and then the other player immediately stops responding, I cannot file a dispute anymore with that state.

To solve this, we should allow disputes to be filed at the same turn count as a previous resolution (but not any other combination, especially not disputes at the same turn count as an already-open dispute).