Aggregate transfers in MultiPayment sent to the same recipient
See original GitHub issueCurrently, a MultiPayment transaction can be built with separate payments to the same recipient.
To reduce the number of { recipient, amount }
items stored in a MultiPayment transaction (and to save computational power on the node), the crypto package could aggregate separate payments sent to the same recipient in a single MultiPayment in the builder.
Example ( considering [ { recipient: amount } ... ]
):
[ {sameAddress : 1 }, { sameAddress : 2 }, { otherAddress: 5 } ]
Becomes:
[ { sameAddress : 3 }, { otherAddress : 5 } ]
Additionally, an optional parameter could be added to the builder to configure whether the MultiPayment should aggregate payments or not (enabled by default).
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Aggregate Transfer Definition - Law Insider
Aggregate Transfer shall refer to the total percentage of the shares of stock, partnership interests, membership interests, or any other equity interests (which ......
Read more >US8407082B2 - Aggregation of validated transactions for settlement ...
27. The method as defined in claim 1 , further comprising differentiating multiple riders having the same account based on the access transaction...
Read more >Consolidated Financial Statements for Bank Holding Companies
addressed to the appropriate Federal Reserve Bank (that ... provision for allocated transfer risk related to loans and leases.
Read more >Digital Banking User Guide - Heartland Bank
Sent Messages. Transfer & Payments. Quick, One-time Transfers. Standard One-time or Recurring Transfers. Memo for Transfers. Linking Accounts.
Read more >FFIEC 031,032,033,034 Call Report Instructions
can send the data file containing its Reports of Condition and Income to EDS ... (4) by transferring financial assets in exchange for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I rather avoid behaviour this. If the user passes in a certain set of data then we will use this as we have to assume that it was his intention, if he wants to aggregate them he can do that but something like that is part preparing your data for signing and not something a library should just do.
The data is permanently stored on the blockchain and us altering any kind of user data is a no go. What they pass in goes on the blockchain.
This issue has been closed. If you wish to re-open it please provide additional information.