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

Layer for confirmations #23

Closed
karelbilek opened this issue Aug 14, 2017 · 2 comments
Closed

Layer for confirmations #23

karelbilek opened this issue Aug 14, 2017 · 2 comments

Comments

@karelbilek
Copy link
Contributor

I am thinking about adding another "layer" for coin selection, but I am not sure if to take it here or to a separate library.

Some inputs are confirmed and some are unconfirmed; some are from user himself and some are from other people. In coin selection, you first want to try only the confirmed inputs with 6+ confs, except for your own inputs that you can spend with 1+ conf, and only then use unconfirmed; except for coinbase inputs, that need to be confirmed with 50+ confs (I think).

However, right now, inputs in coinselect don't have information about that, and doesn't take that into account.

Do you think it should be here, or in another library?

@dcousens
Copy link
Contributor

dcousens commented Aug 15, 2017

Discussion here or in #25?

I think these metrics can be accounted for by using a specialized utxo ordering.

@karelbilek
Copy link
Contributor Author

OK let's keep it at #25, will close this issue

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

2 participants