Commit fa18e92
committed
Increase MAX_ACTIVE_JOBS to 32 for better merged block detection
During header sync, templates change every ~10s, invalidating jobs.
With MAX_ACTIVE_JOBS=4, most shares were stale (job expired) and
never reached the block/merged target check. With 32 jobs, the
window covers ~5 minutes of job history, dramatically reducing
false stale rejections.
This improves merged block (DOGE) detection rate since every share
submission now reaches check_merged_mining() instead of being
discarded as stale before the block target check.1 parent a83a8f7 commit fa18e92
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4877 | 4877 | | |
4878 | 4878 | | |
4879 | 4879 | | |
4880 | | - | |
| 4880 | + | |
4881 | 4881 | | |
4882 | | - | |
| 4882 | + | |
| 4883 | + | |
4883 | 4884 | | |
4884 | 4885 | | |
| 4886 | + | |
| 4887 | + | |
4885 | 4888 | | |
4886 | 4889 | | |
4887 | 4890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
0 commit comments