Skip to content

NerdMinerV2 v1.7.0 Submitting Space-Padded Nonce2 Field #763

Description

@Z3r0XG

NerdMinerV2 v1.7.0 submits shares with nonce2 field padded with leading spaces instead of hex digits, causing all submissions to be rejected.

Stratum protocol capture shows nonce2 field contains 15 spaces + digit:

[2026-02-11 02:27:32.587] Authorised client 627735 113.x.x.x worker bc1pp...qgmc0gq.hel-001 as user bc1pp...qgmc0gq
[2026-02-11 02:27:45.989] Sending stratum message share.result
[2026-02-11 02:27:45.998] Invalid hex due to value 32 at offset 0 from stratifier.c parse_submit:6184
[2026-02-11 02:27:45.998] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:27:45.998] Sending stratum message share.result
[2026-02-11 02:27:58.240] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:28:03.772] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:28:16.129] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:28:18.543] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:28:18.903] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:28:20.736] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001
[2026-02-11 02:28:34.959] Invalid share from client 627735: bc1pp...qgmc0gq.hel-001

Actual submissions from hel-001:

[2026-02-11T02:34:07] {"id": 28, "method": "mining.submit", "params": ["bc1pp...qgmc0gq.hel-001","6980589a00006532","               8","698bea9b","1a9a342a"]}
[2026-02-11T02:34:09] {"id": 29, "method": "mining.submit", "params": ["bc1pp...qgmc0gq.hel-001","6980589a00006532","               8","698bea9b","1a9bcc3e"]}
[2026-02-11T02:34:15] {"id": 4, "method": "mining.submit", "params": ["bc1pp...qgmc0gq.hel-001","6980589a00006532","               1","698bea9b","1a9a049c"]}
[2026-02-11T02:34:24] {"id": 5, "method": "mining.submit", "params": ["bc1pp...qgmc0gq.hel-001","6980589a00006532","               1","698bea9b","1aa21ab2"]}
[2026-02-11T02:34:29] {"id": 6, "method": "mining.submit", "params": ["bc1pp...qgmc0gq.hel-001","6980589a00006532","               1","698bea9b","1aa5a8e1"]}

The nonce2 field (3rd parameter) contains 15 leading spaces followed by a digit. Value 32 is ASCII space character.

{
  "workername": "bc1pp...qgmc0gq.hel-001",
  "hashrate1m": "0",
  "hashrate5m": "0",
  "hashrate1hr": "0",
  "hashrate1d": "0",
  "hashrate7d": "0",
  "lastshare": 0,
  "started": 1770779104,
  "shares": 0.0,
  "bestshare": 0.0,
  "bestever": 0.0,
  "useragent": "NerdMinerV2/V1.7.0"
}

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