Skip to content

Duplicate share issues after the dev fee session #432

Description

@blackmennewstyle

Hello beautiful dev(s),

Your miner seems to have an issue once the dev fee session ends:

[2026-02-26 06:45:31.226]  net      dev donate started
[2026-02-26 06:45:31.226]  net      new job from donate.graef.in:443 diff 429367 algo rx/wow
[2026-02-26 06:45:31.226]  cpu      stopped (0 ms)
[2026-02-26 06:45:31.226]  randomx  init dataset algo rx/wow (32 threads) seed a2930a52d251e2b2...
[2026-02-26 06:45:33.131]  randomx  dataset ready (1904 ms)
[2026-02-26 06:45:33.131]  cpu      use profile  *  (4 threads) scratchpad 1024 KB
[2026-02-26 06:45:33.131]  cpu      READY threads 4/4 (4) huge pages 0% 0/4 memory 4096 KB (1 ms)
[2026-02-26 06:45:33.216]  miner    speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s
[2026-02-26 06:46:31.225]  net      dev donate finished
[2026-02-26 06:46:31.225]  net      new job from callisto.cedric-crispin.dev:4575 diff 163842 algo rx/arq height 1892891 (7 tx)
[2026-02-26 06:46:31.226]  cpu      stopped (1 ms)
[2026-02-26 06:46:31.226]  randomx  init dataset algo rx/arq (32 threads) seed 79522420b51cf789...
[2026-02-26 06:46:32.915]  randomx  dataset ready (1689 ms)
[2026-02-26 06:46:32.915]  cpu      use profile  *  (4 threads) scratchpad 256 KB
[2026-02-26 06:46:32.916]  cpu      READY threads 4/4 (4) huge pages 0% 0/4 memory 1024 KB (1 ms)
[2026-02-26 06:46:33.250]  miner    speed 10s/60s/15m n/a n/a n/a H/s max 10840.8 H/s
[2026-02-26 06:46:45.861]  cpu      rejected (268/1) diff 163842 "duplicate share" (5 ms)
[2026-02-26 06:47:23.836]  cpu      accepted (269/1) diff 163842 (2 ms)

I can reproduce it mostly on slower POW networks than Monero (XMR). Every single time the dev fee session ends, the miner submits again to the pool, a solution which was already presented.

The only time it does not happen is when the stratum sends a job right away after the end of the dev fee session:

[2026-02-26 06:51:45.569]  cpu      stopped (0 ms)
[2026-02-26 06:51:45.569]  randomx  init dataset algo rx/wow (32 threads) seed a2930a52d251e2b2...
[2026-02-26 06:51:47.389]  randomx  dataset ready (1820 ms)
[2026-02-26 06:51:47.390]  cpu      use profile  *  (4 threads) scratchpad 1024 KB
[2026-02-26 06:51:47.391]  cpu      READY threads 4/4 (4) huge pages 75% 3/4 memory 4096 KB (2 ms)
[2026-02-26 06:52:02.080]  net      new job from donate.graef.in:443 diff 265154 algo rx/wow
[2026-02-26 06:52:45.569]  net      dev donate finished
[2026-02-26 06:52:45.569]  net      new job from equilibria.cedric-crispin.com:4565 diff 297724 algo rx/xeq height 1772070 (2 tx)
[2026-02-26 06:52:45.570]  cpu      stopped (1 ms)
[2026-02-26 06:52:45.570]  randomx  init dataset algo rx/xeq (32 threads) seed 1b939dc34e0e53bd...
[2026-02-26 06:52:47.297]  randomx  dataset ready (1726 ms)
[2026-02-26 06:52:47.297]  cpu      use profile  *  (4 threads) scratchpad 256 KB
[2026-02-26 06:52:47.298]  cpu      READY threads 4/4 (4) huge pages 75% 3/4 memory 1024 KB (1 ms)
[2026-02-26 06:53:04.639]  net      new job from equilibria.cedric-crispin.com:4565 diff 297724 algo rx/xeq height 1772071 (2 tx)
[2026-02-26 06:53:05.000]  cpu      accepted (12514/23) diff 297724 (11 ms)

Feel free to ask any further information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions