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.
Refs: https://github.com/keep-network/keep-core/issues/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:
Once the unproven moved funds sweep transactions are found, they are proven.