Skip to content

rename target message fields, aligning with spec cleanup - #845

Draft
plebhash wants to merge 2 commits into
stratum-mining:mainfrom
plebhash:2026-09-09-rename-target-fields
Draft

rename target message fields, aligning with spec cleanup#845
plebhash wants to merge 2 commits into
stratum-mining:mainfrom
plebhash:2026-09-09-rename-target-fields

Conversation

@plebhash

Copy link
Copy Markdown
Member

companion stratum-mining/stratum#2368

aligned with stratum-mining/sv2-spec#228

draft for now, I'll make it ready for review whenever we decide to merge the spec change

stratum renamed `SetTarget.maximum_target` to `target` and
`UpdateChannel.maximum_target` to `max_target`, so that each field
matches the spec's split between operating values set by the server and
caps requested by the client.

Local bindings that hold the requested cap follow the field name.

stratum-mining/sv2-spec#228
…get-fields

Only here so Integration Tests resolve stratum-core against the companion
stratum PR instead of main. Drop this commit once that PR merges, then
update stratum-core to stratum's new main HEAD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant