Report no_solution for all relevant nonces with repeats #14

Merged
uwiger merged 1 commits from uw-repeats-reporting into master 2025-09-27 23:27:57 +09:00
Owner

If repeats was > 1 (for a GPU miner), the client would only send one no_solution message for the whole batch of nonces, and no no_solution message if even one cycle was found.
This change sends an individual no_solution message for each relevant nonce. Sending one combined message would be more economical, but would require a protocol upgrade.

For better performance, an async_call() method is used. This ignores the reply from the server, and is only used for the no_solution message, which doesn't really return useful data anyway.

Tested (and running) on my 1080ti miner.

If `repeats` was `> 1` (for a GPU miner), the client would only send one `no_solution` message for the whole batch of nonces, and no `no_solution` message if even one cycle was found. This change sends an individual `no_solution` message for each relevant nonce. Sending one combined message would be more economical, but would require a protocol upgrade. For better performance, an `async_call()` method is used. This ignores the reply from the server, and is only used for the `no_solution` message, which doesn't really return useful data anyway. Tested (and running) on my 1080ti miner.
uwiger added 1 commit 2025-09-26 06:36:29 +09:00
uwiger requested review from spivee 2025-09-26 06:36:30 +09:00
uwiger requested review from zxq9 2025-09-26 06:36:30 +09:00
uwiger merged commit 408bd9fc18 into master 2025-09-27 23:27:57 +09:00
Sign in to join this conversation.
No Reviewers
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/gmhive_client#14
No description provided.