This repository has been archived by the owner on Jun 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Refactor Node state: extract EstablishingNode state #1616
Merged
Viv-Rajkumar
merged 15 commits into
maidsafe:fleming
from
madadam:node-state-refactor-part-two
May 9, 2019
Merged
Refactor Node state: extract EstablishingNode state #1616
Viv-Rajkumar
merged 15 commits into
maidsafe:fleming
from
madadam:node-state-refactor-part-two
May 9, 2019
Commits on May 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 02b454d - Browse repository at this point
Copy the full SHA 02b454dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4decffb - Browse repository at this point
Copy the full SHA 4decffbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2569de1 - Browse repository at this point
Copy the full SHA 2569de1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40be888 - Browse repository at this point
Copy the full SHA 40be888View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae598cb - Browse repository at this point
Copy the full SHA ae598cbView commit details -
Fix failures in node_drops, node_restart tests
- Try to reconnect to a dropped peer immediatelly, not delayed - Change `has_unconsensused_observations` to `has_unpolled_observations` to prevent terminating the tests prematurely - If node loses all connections, emit `RestartRequired` even if we are the first node (unless during network startup). - Randomize the drop order in the node_restart test to make it more likely to catch bugs
Configuration menu - View commit details
-
Copy full SHA for d90e779 - Browse repository at this point
Copy the full SHA d90e779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89bc2cd - Browse repository at this point
Copy the full SHA 89bc2cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c46b97 - Browse repository at this point
Copy the full SHA 8c46b97View commit details -
Minor fix in sending RoutingMessage as unestablished
Also move send_signed_message_to_peer from Relocated back to Node, as it is only used there.
Configuration menu - View commit details
-
Copy full SHA for 3382ef7 - Browse repository at this point
Copy the full SHA 3382ef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 988e0c5 - Browse repository at this point
Copy the full SHA 988e0c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 402c71b - Browse repository at this point
Copy the full SHA 402c71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fae3fba - Browse repository at this point
Copy the full SHA fae3fbaView commit details -
Rename Bootstrapping to BootstrappingPeer
So all state names are nouns now, for consistency.
Configuration menu - View commit details
-
Copy full SHA for ed5b713 - Browse repository at this point
Copy the full SHA ed5b713View commit details -
Make state conversions more explicit
Change the return type of the various `into_` function to `Result<State>` so in case of error we return `Err` instead of silently ignoring it and returning `State::Terminated`.
Configuration menu - View commit details
-
Copy full SHA for 2dd16fb - Browse repository at this point
Copy the full SHA 2dd16fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a648b9b - Browse repository at this point
Copy the full SHA a648b9bView 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.