Add immediate upstream difficulty propagation #561
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
parasitepool/para#561
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, upstream mining.set_difficulty changes are only applied to downstream miners when the next workbase update arrives. Add a dedicated watch channel for difficulty so stratifiers can react immediately.
If upstream difficulty decreases between workbase updates, downstream miners may submit shares that get rejected.
*Add watch::channel alongside the existing workbase channel, and handle it in the stratifier select loop.