summaryrefslogtreecommitdiff
path: root/src/daemon/executor.cpp
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2021-08-26 11:51:07 +0200
committerSChernykh <sergey.v.chernykh@gmail.com>2021-08-26 11:51:07 +0200
commitc0ce4d50897ffc7d2f04b85b78c7b82e90caff72 (patch)
tree2e0a20ab6f918047bd24877d5676e96583256e8c /src/daemon/executor.cpp
parentc61c09a5675da819c81463899a863cd016d28cdf (diff)
downloadmonzero-core-c0ce4d50897ffc7d2f04b85b78c7b82e90caff72.tar.gz
monzero-core-c0ce4d50897ffc7d2f04b85b78c7b82e90caff72.tar.xz
monzero-core-c0ce4d50897ffc7d2f04b85b78c7b82e90caff72.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/daemon/executor.cpp')
0 files changed, 0 insertions, 0 deletions