feat(channels): add set_nominal_hashrate to client ExtendedChannel#2077
Merged
plebhash merged 1 commit intoFeb 7, 2026
Merged
Conversation
GitGab19
reviewed
Feb 6, 2026
GitGab19
approved these changes
Feb 6, 2026
Member
|
Can you squash last commit? |
plebhash
approved these changes
Feb 6, 2026
Member
|
@lucasbalieiro can you double check if we're executing integration tests with the companion here? I added "companion stratum-mining/sv2-apps#245" the description but not sure if we're getting the right trigger |
Add a setter for nominal_hashrate on the client-side ExtendedChannel. This allows downstream consumers (e.g. tProxy) to update the locally tracked hashrate when the downstream vardiff produces an UpdateChannel message, keeping it consistent with actual miner performance. See: stratum-mining/sv2-apps#242
b386b41 to
2e4323b
Compare
Collaborator
From the latest integration test execution seems that every thing is alright: See: https://github.com/stratum-mining/stratum/actions/runs/21768667046/job/62810936243?pr=2077#step:9:18
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add a setter for
nominal_hashrateon the client-sideExtendedChannel. This allows downstream consumers (e.g. tProxy) to update the locally tracked hashrate when the downstream vardiff produces anUpdateChannelmessage, keeping it consistent with actual miner performance.See: stratum-mining/sv2-apps#242
companion stratum-mining/sv2-apps#245