This task is about implementing a moving funds action trigger in the client. The wallet should start moving funds only if:
It is in the MovingFunds state
It doesn't have unhandled redemptions
It doesn't have unhandled moved funds sweeps
It doesn't have any other ongoing actions
It can submit the moving funds commitment according to the Bridge rules
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 moving funds trigger must adhere to the new solution. See https://github.com/keep-network/tbtc-v2/issues/737 for reference.
This task is about implementing a moving funds action trigger in the client. The wallet should start moving funds only if:
MovingFunds
stateBridge
rulesImportant 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 moving funds trigger must adhere to the new solution. See https://github.com/keep-network/tbtc-v2/issues/737 for reference.