Skip to content

Allow custom pools (under JD mode) to specify a JDS port and update CK pool url - #230

Merged
pavlenex merged 3 commits into
stratum-mining:mainfrom
GitGab19:custom-jds-port
Jul 28, 2026
Merged

Allow custom pools (under JD mode) to specify a JDS port and update CK pool url#230
pavlenex merged 3 commits into
stratum-mining:mainfrom
GitGab19:custom-jds-port

Conversation

@GitGab19

@GitGab19 GitGab19 commented Jul 27, 2026

Copy link
Copy Markdown
Member

This PR takes inspiration and replaces #224.

Successfully tested with the experimental JD endpoint of CKPool:

  • url --> stratum.ckpool.org
  • pool port --> 3336
  • jd port --> 3337
  • authority key --> 9anrRNhBh7869XtNnFcCuGBRZP51E635qGbu457J5kHdszhfRc3

The only "problem" of CKPool is that it accepts only a max extranonce_size of 8bytes, and JDC requires 2bytes more for channel aggregation. So if you set the extranonce2 size to a value >6, JDC is gonna receive a OpenExtendedMiningChannel.Error, and it will fallback.

@GitGab19 GitGab19 mentioned this pull request Jul 27, 2026
@GitGab19
GitGab19 force-pushed the custom-jds-port branch 3 times, most recently from 5717004 to 7683e1b Compare July 28, 2026 11:33
@GitGab19 GitGab19 changed the title Allow custom pools (under JD mode) to specify a JDS port Allow custom pools (under JD mode) to specify a JDS port and update CK pool url Jul 28, 2026

@pavlenex pavlenex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK on both JD and non JD mode of CK Pool
Screenshot 2026-07-28 at 18 21 18

@pavlenex
pavlenex merged commit 8dbf95a into stratum-mining:main Jul 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants