-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distibuted work fixes #2230
Merged
zhyatt
merged 17 commits into
nanocurrency:master
from
guilhermelawless:distibuted-work-fixes
Aug 23, 2019
Merged
Distibuted work fixes #2230
zhyatt
merged 17 commits into
nanocurrency:master
from
guilhermelawless:distibuted-work-fixes
Aug 23, 2019
Commits on Aug 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6f17391 - Browse repository at this point
Copy the full SHA 6f17391View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdcc24d - Browse repository at this point
Copy the full SHA bdcc24dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dc73b4 - Browse repository at this point
Copy the full SHA 2dc73b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e289ca - Browse repository at this point
Copy the full SHA 8e289caView commit details -
Configuration menu - View commit details
-
Copy full SHA for dabbe5c - Browse repository at this point
Copy the full SHA dabbe5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4efe2eb - Browse repository at this point
Copy the full SHA 4efe2ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6658997 - Browse repository at this point
Copy the full SHA 6658997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d0b3f5 - Browse repository at this point
Copy the full SHA 0d0b3f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 453fb89 - Browse repository at this point
Copy the full SHA 453fb89View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb06b76 - Browse repository at this point
Copy the full SHA fb06b76View commit details -
Configuration menu - View commit details
-
Copy full SHA for e97006e - Browse repository at this point
Copy the full SHA e97006eView commit details
Commits on Aug 23, 2019
-
Local work generation is now only used in case peers are unresponsive
This change enhances the previous behavior. Local work generation is only used after all peers are unresponsive. A flag is set in the node (unresponsive_work_peers) so that for the next distributed work, local generation will start immediately. Work peer requests are still sent, and as soon as one replies with valid work, local generation is delayed again, until all are unresponsive, and so on. This is more of a fallback mechanism when all peers are failing, as the previous behavior would always wait for timeouts on peers (which can be long, 2 minutes here). The only case not handled for simplicity is when multiple work is queued, and the first one has unresponsive peers. In this case, the currently queued work requests will not start work generation immediately, only for the next queued distributed work.
Configuration menu - View commit details
-
Copy full SHA for 0c5b8e9 - Browse repository at this point
Copy the full SHA 0c5b8e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcdfa2e - Browse repository at this point
Copy the full SHA dcdfa2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0985b1c - Browse repository at this point
Copy the full SHA 0985b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4d04e7 - Browse repository at this point
Copy the full SHA b4d04e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56665bd - Browse repository at this point
Copy the full SHA 56665bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b5689 - Browse repository at this point
Copy the full SHA 77b5689View commit details
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.