diff options
| author | Samuel Dobson <[email protected]> | 2020-04-17 22:32:00 +1200 |
|---|---|---|
| committer | Samuel Dobson <[email protected]> | 2020-04-17 22:32:13 +1200 |
| commit | 0856c1570679b31c0aa3eedcf2a13171364f0c15 (patch) | |
| tree | d7ce521cf29d0db87efbed367ca4b1475ce358c9 /src/httpserver.cpp | |
| parent | Merge #18662: test: Replace gArgs with local argsman in bench (diff) | |
| parent | bnb: exit selection when best_waste is 0 (diff) | |
| download | discoin-0856c1570679b31c0aa3eedcf2a13171364f0c15.tar.xz discoin-0856c1570679b31c0aa3eedcf2a13171364f0c15.zip | |
Merge #18262: bnb: exit selection when best_waste is 0
9b5950db8683f9b4be03f79ee0aae8a780b01a4b bnb: exit selection when best_waste is 0 (Andrew Chow)
Pull request description:
If we find a solution which has no waste, just use that. This solution
is what we would consider to be optimal, and other solutions we find
would have to also have 0 waste, so they are equivalent to the first
one with 0 waste. Thus we can optimize by just choosing the first one
with 0 waste.
Closes #18257
ACKs for top commit:
instagibbs:
utACK https://github.com/bitcoin/bitcoin/pull/18262/commits/9b5950db8683f9b4be03f79ee0aae8a780b01a4b
meshcollider:
utACK 9b5950db8683f9b4be03f79ee0aae8a780b01a4b
Tree-SHA512: 59565ff4a3d8281e7bc0ce87065a34c8d8bf8a95f628ba96b4fe89f1274979165aea6312e5f1f21b418c8c484aafc5166d22d9eff9d127a8192498625d58c557
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions