aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2020-03-04 16:35:15 -0500
committerAndrew Chow <[email protected]>2020-03-04 16:35:15 -0500
commit9b5950db8683f9b4be03f79ee0aae8a780b01a4b (patch)
treec7deccff2bbd4c744bc288bddd5e097ddd4a2a8b /src/httpserver.cpp
parentMerge #17809: rpc: Auto-format RPCResult (diff)
downloaddiscoin-9b5950db8683f9b4be03f79ee0aae8a780b01a4b.tar.xz
discoin-9b5950db8683f9b4be03f79ee0aae8a780b01a4b.zip
bnb: exit selection when best_waste is 0
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.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions