diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-08-02 11:54:20 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2023-03-06 09:45:40 -0300 |
commit | bd91ed1cb2cc804f824d1b204513ac2afb7d5e28 (patch) | |
tree | 9956b147f73c622e5f895337fb27c1c3a0098613 /src/bench/logging.cpp | |
parent | 55962001da4f8467e52da502b05f5c0a85128fb0 (diff) |
wallet: unify outputs grouping process
The 'GroupOutputs()' function performs the same
calculations for only-positive and mixed groups,
the only difference is that when we look for
only-positive groups, we discard negative utxos.
So, instead of wasting resources calling GroupOutputs()
for positive-only first, then call it again to include
the negative ones in the result, we can execute
GroupOutputs() only once, including in the response
both group types (positive-only and mixed).
Diffstat (limited to 'src/bench/logging.cpp')
0 files changed, 0 insertions, 0 deletions