aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2021-08-26 11:50:15 +0200
committerSChernykh <sergey.v.chernykh@gmail.com>2021-08-26 11:50:15 +0200
commite52802baef23ed61fdb7f7a16ab6f8025b2da9dd (patch)
treed752fae3f6fcc1581bad12b32e6b259bd5a19a29 /tests/core_tests
parentMerge pull request #7881 (diff)
downloadmonero-e52802baef23ed61fdb7f7a16ab6f8025b2da9dd.tar.xz
Wallet2: fix optimize-coinbase for p2pool payouts
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet. When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now. With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction. Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
Diffstat (limited to 'tests/core_tests')
0 files changed, 0 insertions, 0 deletions