keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
118 stars 73 forks source link

Add moved funds sweep trigger #3736

Closed lukasz-zimnoch closed 6 months ago

lukasz-zimnoch commented 9 months ago

This task is about implementing a moved funds sweep action trigger in the client. All wallets that received moved funds must merge them without their own main UTXO. A possible problem to consider is multiple wallets doing this at the same time (may affect performance).

Important note: As for now, wallet actions are triggered using the wallet coordinator mechanism. However, there is ongoing work aiming to replace this mechanism with a better alternative. The moved funds sweep trigger must adhere to the new solution. See https://github.com/keep-network/tbtc-v2/issues/737 for reference.

### Tasks
- [ ] https://github.com/keep-network/keep-core/pull/3786