• wallet-stratumfix2-20260908 d77cca983a

    btcbob released this 2026-09-08 14:26:29 +00:00 | 131 commits to main since this release

    Windows x64 wallet with the in-wallet Mining tab. Pool mining works in this build; it did not in any previous one.

    What was wrong

    The pool client screened its own candidate shares against a bar 65,536x stricter than the pool's, because it omitted the coin template's shareMultiplier. At stratum difficulty 2 it demanded 8.59e9 hashes per share -- about 6.1 days at a typical desktop rate -- so it hashed at full speed and submitted nothing, on any port. A comment in the source asserted the multiplier was 1; it is 65536.

    Also fixed

    • Rejected shares were counted nowhere, so the UI read accepted 0 / rejected 0 whether or not anything was wrong -- and a single rejected share overwrote the connection-status string, making the wallet report the pool as down.
    • Reconnect did not clear the previous session's extranonce, difficulty or job, so workers resumed dead work the moment authorize succeeded.
    • The reconnect backoff ladder never reset, because it tested a flag its own error path had already cleared.

    Verified

    Against the live pool, two independent ways: the unpatched client behind a proxy dividing announced difficulty by 65536 (Share accepted: D=2), and this build with no proxy (Share accepted: D=28.442, 0 rejected). Both also exercise the header assembly, merkle folding and submit path, none of which had ever produced an accepted share before.

    Use

    Pool: pool.dobbscoin.info:3033, user YOUR_BOB_ADDRESS.WORKER_NAME. Expect roughly two to three minutes of nothing after connecting while the pool walks your difficulty down, then shares.

    Build provenance

    Cross-built from d77cca98 with the stratum fixes applied; those fixes are commits 45446a8c and 2bcffa21 on main. The reported version string is unchanged at v0.13.4-d77cca9.

    sha256 fbeb8da563043dc7eb54b5fb269f6d68a9a0a5716a28e490805b0d1ba52dea86

    Downloads