-
Notifications
You must be signed in to change notification settings - Fork 724
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
Integration with peer2peer networking #3363
Conversation
Although |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Just some minor comments.
c1e8140
to
8f80f31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with comments.
719b19c
to
b568136
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good but a few comments
37ab9a8
to
7f37808
Compare
39c11bf
to
757e891
Compare
This commit provides: * p2p options * p2p traces * p2p topology file format * integration with changes in `ouroboros-consensus` and `ouroboros-network`. * the provided default p2p config values are for a relay node As of now, using p2p mode is not as thoroughly verified as the current implementation, and thus it is __not__ supported. We also do not guarantee, at this stage, that the p2p mode is forward compatible, specifically the version of `NodeToNodeV_8` might entirely change its scope in the future which can break p2p nodes. Co-authored-by: Armando Santos <bolt12@users.noreply.github.com> Co-authored-by: Karl Knutsson <karknu@users.noreply.github.com> Co-authored-by: Marcin Szamotulski <coot@users.noreply.github.com>
It also removes `MockNodeTopolgy` (todo: why?) Co-authored-by: Armando Santos <bolt12@users.noreply.github.com> Co-authored-by: Karl Knutsson <karknu@users.noreply.github.com> Co-authored-by: Marcin Szamotulski <coot@users.noreply.github.com>
TODO: do we want to commit it or keep it in a branch? Co-authored-by: Armando Santos <bolt12@users.noreply.github.com> Co-authored-by: Karl Knutsson <karknu@users.noreply.github.com> Co-authored-by: Marcin Szamotulski <coot@users.noreply.github.com>
- Fixed chairman tests for P2P and NonP2P modes - Fixed topology format generation in chairman tests. - Updated config file and topology file - Added P2P Switch flag to chairman config files - Added mkTopologyConfig function to switch accordingly as well - Disable P2P Mode for Byron and Shelley tests - General chairman-tests refactoring to support P2P Switch - Fix valency in ByronShelley - Updated config files
bors merge |
3363: Integration with peer2peer networking r=coot a=coot This PR integrates with peer2peer networking and allows to run a node in either mode: * non-p2p: the only officially supported version * p2p: unverified and unsupported p2p mode This also includes: * a new topology file format for p2p nodes * a mechanism to reload topology file on SIGHUP signal - network trace instances: use ToJSON or ToObject instances - network trace instances: peer selection traces - network trace instances: ToJSON instances - consensus trace instances: trace termination reason - P2P / NonP2P cardano-node - Update p2p topology configuration via the SIGHUP signal - Removed MonoLocalBinds extension - topology file: improved parsing error message - Improve NetworkTopology generator - byron-mainnet configuration: added p2p trace options - p2p topology file for cardano mainnet - Document the p2p topology file - Updated cardano-node-chairman - Updated trace-dispatcher and trace-forward libraries - Updated tx-generator - Updated cardano-testnet package - Code cleanup in Tracing.Config - nixos service: add p2p topology support. - nixos-service: Add space-cost profiling support - nixos-service: Add space-heap profiling support Co-authored-by: Marcin Szamotulski <profunctor@pm.me> Co-authored-by: Armando Santos <armandoifsantos@gmail.com> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> Co-authored-by: John Lotoski <john.lotoski@iohk.io>
This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried. Additional information: {"message":"Waiting on code owner review from deepfire, denisshevchenko, jutaro, and/or MarcFontaine.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
bors merge |
Build succeeded: |
This PR integrates with peer2peer networking and allows to run a node in either mode:
This also includes: