priestc / moneywagon

Universal bitcoin/altcoin blockchain client library for Python and the command line
http://multiexplorer.com
MIT License
149 stars 48 forks source link

Added method to select inputs based on oldest first #5

Closed shivaenigma closed 8 years ago

shivaenigma commented 8 years ago

This method must be ideally called after add_inputs(). Based on https://github.com/spesmilo/electrum/blob/97bc1b278876674e3481f135f28413c7877aec5d/lib/coinchooser.py.

We could also possibly refactor this change with ability to add more coinchoosers. By the way, thanks for making moneywagon. Has been very helpful.

priestc commented 8 years ago

thank you for making this pull request, I'll merge this probably this weekend