-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
featIssue is a featureIssue is a feature
Description
Follow-up after:
The PR must also be based on:
Tasks:
- Implement auto-detection to decide when UTXO consolidation is necessary. This must evaluate errors from
assembleTx
, but to distinguish betweeninsufficient balances
andtoo many coins
we may have to fetch userbalances
for base asset ID, and if this is non-negotiable, we may just as well fetch balances for base asset within the same HTTP/GQL call that we submit theassembleTx
operation. - When the above is true, consolidation transactions must be sent with the original transaction via the JSON RPC interface under a
consolidationTxs
property or similar.
Edit:
Follows a diagram of the proposed flow
Metadata
Metadata
Assignees
Labels
featIssue is a featureIssue is a feature