Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet: transaction splitting for single asset #207

Open
nkostoulas opened this issue Sep 9, 2019 · 0 comments
Open

wallet: transaction splitting for single asset #207

nkostoulas opened this issue Sep 9, 2019 · 0 comments
Labels

Comments

@nkostoulas
Copy link

nkostoulas commented Sep 9, 2019

Currently CreateTransaction() split transactions by splitting asset Recipients and Inputs, thus will not work on a single asset case. Also tx splitting for sendtoaddress has been disabled.

The previous solution is too complex for this. If we are to support this we should change the code as follows:

  • Move splitting logic to SendAny(), SendMoney()
  • In case of a "transaction too large" error, split recipients
  • Iteratively (not recursively as is now) attempt to create smaller transactions
@nkostoulas nkostoulas added the Type: Enhancement New feature or request label Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant