[feature] allow breaking up a single outbound transaction into multiple parts

This change allows the txout manager, to break a single outbound transaction into multiple parts. This makes the network more flexible when sending larger amounts of funds, as having more asgard/yggdrasil vaults makes that increasingly difficult with all funds broken apart in multiple vaults. This also does mean that the transaction fee can be applied multiple times to a single outbound transaction. But we would generally only see this with really large transactions like node operators unbonding their bond, for example.

When sending funds, it tries to send with Yggdrasil vaults first. It attempts to keep the number of participating Yggdrasil vaults to be as few as possible. Once all yggdrasils are burnt out, it goes to active asgards, sorted by least secure first. After that, retiring vaults, sorted by least secure first.

Merge request reports

Loading