-
Notifications
You must be signed in to change notification settings - Fork 86
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
p2p local root peers #3006
p2p local root peers #3006
Commits on Mar 18, 2021
-
Move some of the network test modules that were in the wrong place.
The test/Ouroboros/ heirarchy is not for test modules, those live in test/Test/. That heirarchy is for extra source modules that happen only to be used within tests. Clear as mud?
Configuration menu - View commit details
-
Copy full SHA for 3571e7c - Browse repository at this point
Copy the full SHA 3571e7cView commit details
Commits on Mar 19, 2021
-
Split the peer selection tests up
The module was rather on the huge side.
Configuration menu - View commit details
-
Copy full SHA for da5ce6e - Browse repository at this point
Copy the full SHA da5ce6eView commit details -
Improve the QC shrinker for the governor pick scripts
Improve the generation and shrinking of pick scripts, and make their show instances much smaller so the counterexamples are easier to read. Also there were several pick scripts in the mock env that were not being shrunk at all. Fix that, and adjust so that any future additions will be noticed.
Configuration menu - View commit details
-
Copy full SHA for 16d4970 - Browse repository at this point
Copy the full SHA 16d4970View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ad18d - Browse repository at this point
Copy the full SHA 99ad18dView commit details
Commits on Mar 29, 2021
-
Add a new LocalRootPeers abstraction for the p2p governor
Not yet used. It will replace the current simple representation in the governor state. Add tests for the QC generator and the non-trivial clampToLimits function.
Configuration menu - View commit details
-
Copy full SHA for 263e0d2 - Browse repository at this point
Copy the full SHA 263e0d2View commit details -
Swap the representation to the new LocalRootPeers
That is, change the representation in the governor state for the local root peers from Map peeraddr PeerAdvertise to LocalRootPeers peeraddr. Then follow through the minimally necessary changes. In particular this does not yet introduce the governor targets of the local root peers being established or active peers. Also update the QC tests, using the new generator for the LocalRootPeers from the previous patch.
Configuration menu - View commit details
-
Copy full SHA for c53c1af - Browse repository at this point
Copy the full SHA c53c1afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55022ca - Browse repository at this point
Copy the full SHA 55022caView commit details -
Documented the fact that the validator and generator deliberatly leave
the enforcement of the invariant that says Public/Local Root peer sets to be disjoint.
Configuration menu - View commit details
-
Copy full SHA for e0978c3 - Browse repository at this point
Copy the full SHA e0978c3View commit details