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

Improve the way superblock challengers and submitters deposit and withdraw eth #3

Open
oscarguindzberg opened this issue Sep 5, 2018 · 1 comment

Comments

@oscarguindzberg
Copy link
Contributor

Currently, they send a deposit before doing each action.
Create a mechanism where they can deposit and withdraw eth once a day or something like that.

@oscarguindzberg
Copy link
Contributor Author

oscarguindzberg commented Sep 5, 2018

Current implementation:
before submitting a superblock, the submitter adds 1000 wei as deposit.
Currently, before doing a challenge, the submitter adds 1000 wei as deposit.
The challenger does not add deposit on a query. The defender does not add a deposit when anwsering a query. So far, it will no break the demo, since 1000 wei deposit is added on submit/challenge.
Design a better mechanism.
Option to consider: Should we write a DepositManagerClient that adds/removes deposit to keep a reasonable deposit at all times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant