feat(channels_sv2, sv1_api): support upstream prefix updates and identify extranonce-subscription clients - #2319
Open
GitGab19 wants to merge 2 commits into
Open
Conversation
GitGab19
requested review from
bit-aloo and
plebhash
and removed request for
bit-aloo
August 27, 2026 13:41
This comment was marked as resolved.
This comment was marked as resolved.
GitGab19
marked this pull request as draft
August 27, 2026 14:42
This comment was marked as resolved.
This comment was marked as resolved.
GitGab19
force-pushed
the
feat/extranonce-prefix-updates
branch
from
August 27, 2026 19:47
a08bf0f to
c95fd6b
Compare
GitGab19
force-pushed
the
feat/extranonce-prefix-updates
branch
from
August 27, 2026 20:25
c95fd6b to
e5a718b
Compare
GitGab19
added a commit
to GitGab19/sv2-apps
that referenced
this pull request
Aug 27, 2026
Temporary dependency override for stratum-mining/stratum#2319. Revert to `branch = "main"` and run `cargo update -p stratum-core` across all workspaces after the companion PR merges.
GitGab19
added a commit
to GitGab19/sv2-apps
that referenced
this pull request
Aug 27, 2026
Temporary dependency override for stratum-mining/stratum#2319. Revert to `branch = "main"` and run `cargo update -p stratum-core` across all workspaces after the companion PR merges.
GitGab19
marked this pull request as ready for review
August 27, 2026 21:14
GitGab19
added a commit
to GitGab19/sv2-apps
that referenced
this pull request
Aug 27, 2026
Temporary dependency override for stratum-mining/stratum#2319. Revert to `branch = "main"` and run `cargo update -p stratum-core` across all workspaces after the companion PR merges.
GitGab19
added a commit
to GitGab19/sv2-apps
that referenced
this pull request
Aug 28, 2026
Temporary dependency override for stratum-mining/stratum#2319. Revert to `branch = "main"` and run `cargo update -p stratum-core` across all workspaces after the companion PR merges.
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.
This PR is a prerequisite for a final PR on
sv2-appswhich is aiming to close almost all the currently-tracked issues of tProxy (specifically stratum-mining/sv2-apps#36, stratum-mining/sv2-apps#139, stratum-mining/sv2-apps#164, stratum-mining/sv2-apps#386, stratum-mining/sv2-apps#650)It has two commits:
channels_sv2: addset_upstream_prefixonExtranonceAllocator,ExtranoncePrefix,ExtendedChannel, andStandardChannel. Preserves local suffix, allocations, bitmap state, and rollable size. Validates total extranonce length transactionally.sv1_api: passclient_idintohandle_extranonce_subscribeand make the receiver&mut self. This lets tProxy record which downstreams supportmining.set_extranoncewithout keeping a separate set.companion stratum-mining/sv2-apps#823