diff options
author | SChernykh <sergey.v.chernykh@gmail.com> | 2021-08-26 11:50:15 +0200 |
---|---|---|
committer | SChernykh <sergey.v.chernykh@gmail.com> | 2021-08-26 11:50:15 +0200 |
commit | e52802baef23ed61fdb7f7a16ab6f8025b2da9dd (patch) | |
tree | d752fae3f6fcc1581bad12b32e6b259bd5a19a29 /tests/core_proxy | |
parent | Merge pull request #7881 (diff) | |
download | monero-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_proxy')
0 files changed, 0 insertions, 0 deletions