Let workers finish old candidates. #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "spivee/patience"
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?
In the short term this short circuits the headaches around freeing memory across remote processes, and in the medium to long term this allows lower-power users to introduce micro-forks instead of being locked out of the game altogether.
[EDIT] This does result in the first N nonces in the candidate range to be skipped. Handling idle workers waiting for a candidate, vs active workers unaware of the new candidate, may require some more thought/state, or may be another easy fix, but it probably doesn't matter for now.
Excellent, simple fix.