Skip to content
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

Add cutoff seconds to predictoor #692

Closed
trizin opened this issue Feb 28, 2024 · 0 comments · Fixed by #696
Closed

Add cutoff seconds to predictoor #692

trizin opened this issue Feb 28, 2024 · 0 comments · Fixed by #696
Labels
Type: Enhancement New feature or request

Comments

@trizin
Copy link
Contributor

trizin commented Feb 28, 2024

Two sided predictions require a cut off seconds which will stop prediction submission when seconds left in the epoch is smaller than the cut off time. This is required to ensure that predictoor stakes on each side.

The minimum recommended cut off seconds is: 50 seconds. To have enough time for:

  • 2 prediction txs
  • 2 failsafe txs if something goes wrong with the predictions txs.

Todo:

  • Implement s_cutoff under bot features in ppss.yaml, update predictoor_ss and add it as a property
  • Stop all prediction submissions if seconds left in epoch < s_cutoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant