-
Notifications
You must be signed in to change notification settings - Fork 35
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
Finalized Exits #24
Comments
Sidechain state should be updated to delete UTXO as soon as it detects a startExit. Invariant: |
Sidechain state should be updated to delete UTXO as soon as it detects a startExit. how to delete UTXO ? |
Hello, Again this is subject to change as we continue to iterate on the design. The sdk provides a BeginBlocker and EndBlocker function that can execute at each block. We may use this to poll the rootchain smart contract for any startExits and delete the corresponding UTXO |
Discussion in #36 resolves this issue. See the research repository for a design spec of Anchor (name for our version of peggy). |
We will need a some mechanism for taking into account utxo's that have been exited via the rootchain. This can probably be done with a finalizedExits mapping similar to the rootchain. This should be implemented where ever the geth full node is, and in the ante handler to check that the position being referenced has not been exited.
The text was updated successfully, but these errors were encountered: