aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
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 /src/wallet/api
parent2d3ce2d64a29caa9d2f526e01f9311a2eb676d6d (diff)
downloadmonzero-core-e52802baef23ed61fdb7f7a16ab6f8025b2da9dd.tar.gz
monzero-core-e52802baef23ed61fdb7f7a16ab6f8025b2da9dd.tar.xz
monzero-core-e52802baef23ed61fdb7f7a16ab6f8025b2da9dd.zip
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 'src/wallet/api')
0 files changed, 0 insertions, 0 deletions