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

implement "best fit" when creating transactions #73

Open
dajohi opened this issue Mar 5, 2014 · 2 comments
Open

implement "best fit" when creating transactions #73

dajohi opened this issue Mar 5, 2014 · 2 comments

Comments

@dajohi
Copy link
Member

dajohi commented Mar 5, 2014

Currently when creating transactions, btcwallet uses the largest inputs. btcwallet should create transactions using "best fit" inputs instead.

@flammit
Copy link

flammit commented Mar 7, 2014

Just to add some thoughts from IRC, there are potentially a few different objectives when trying to choose transactions: exact coin amount matching, dust reduction, fee minimization, correlation minimization to name a few.

It was pointed out that perhaps there should be an interface for transaction selection schemes along with some hard implementations that can be chosen for use in btcwallet via command line params/config. That way the generated transactions can more closely match the objective of the wallet user.

@jrick
Copy link
Member

jrick commented May 30, 2014

This can be added as a selection algorithm when #92 is completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@jrick @flammit @dajohi and others