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

Implement moved funds sweep SPV proof submission #3738

Closed
2 tasks done
lukasz-zimnoch opened this issue Nov 6, 2023 · 0 comments
Closed
2 tasks done

Implement moved funds sweep SPV proof submission #3738

lukasz-zimnoch opened this issue Nov 6, 2023 · 0 comments
Assignees

Comments

@lukasz-zimnoch
Copy link
Member

lukasz-zimnoch commented Nov 6, 2023

This issue is about implementing the moved funds sweep SPV proof submission in the SPV maintainer. The implementation should be similar to the existing deposit sweep and redemption proof submission.

Tasks

  1. 📟 client
    tomaszslabon
  2. 📟 client
    tomaszslabon
lukasz-zimnoch added a commit that referenced this issue Mar 15, 2024
#Refs: #3738.
This PR adds functionalities for creating and submitting moved funds
sweep transaction SPV proofs.

Finding the possible unproven moved funds sweep transactions is done by
retrieving `MovingFundsCommitmentSubmitted` events and looking at the
recent transactions of target wallets from each event.

An unproven moved funds seep transaction must have the following format:
- the first input must refer to an unproven moved funds sweep request
- the second input (optional) must refer to the current wallet's main
UTXO
- the (single) output that pays to the wallet itself

Once the unproven moved funds sweep transactions are found, they are
proven.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants