Skip to content

Refactor SelectCoinsMinConf() and add unit tests#1416

Merged
gavinandresen merged 5 commits intobitcoin:masterfrom
luke-jr:refactor_coinselect
Jun 14, 2012
Merged

Refactor SelectCoinsMinConf() and add unit tests#1416
gavinandresen merged 5 commits intobitcoin:masterfrom
luke-jr:refactor_coinselect

Conversation

@luke-jr
Copy link
Member

@luke-jr luke-jr commented Jun 4, 2012

AvailableCoins() makes a vector of available outputs which is then passed to SelectCoinsMinConf(). This allows unit tests to test the coin selection algorithm without having the whole blockchain available.

This is an updated (with changes made in #1017, but not Coin Control itself) and rebased form of #905.

dooglus added 5 commits June 4, 2012 16:36
AvailableCoins() makes a vector of available outputs which is then passed to SelectCoinsMinConf().  This allows unit tests to test the coin selection algorithm without having the whole blockchain available.
@luke-jr luke-jr mentioned this pull request Jun 4, 2012
@gavinandresen
Copy link
Contributor

ACK. It makes ./test_bitcoin spew tons of "best subset" messages, but that's not your fault.

@sipa
Copy link
Member

sipa commented Jun 13, 2012

ACK

1 similar comment
@gavinandresen
Copy link
Contributor

ACK

@gavinandresen gavinandresen merged commit 831f59c into bitcoin:master Jun 14, 2012
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jan 22, 2019
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request May 6, 2020
452a461 [GUI] Add more room to contacts dropdown (random-zebra)

Pull request description:

  Make contacts dropdown a little bit higher, so at least 4 addresses fit

  ![contacts_dropdown_1](https://user-images.githubusercontent.com/18186894/76907704-35395b80-68a7-11ea-948f-0a0fde5964c6.png)

  ---
  ![contacts_dropdown_2](https://user-images.githubusercontent.com/18186894/76907712-39657900-68a7-11ea-8114-6c66d270fdb0.png)

  ---
  Closes bitcoin#1416

ACKs for top commit:
  Fuzzbawls:
    ACK 452a461
  furszy:
    utACK 452a461 .

Tree-SHA512: 5dd14f27057667d8e8e593f4a1a4dd01cac6c6ed4f2f45d3f52211823630e8c72ca6efdb193dd7230f013b00775e66d2e43ed47d692173ec6f205b1c46242ac3
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants