-
Notifications
You must be signed in to change notification settings - Fork 720
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
Use JSON instances for NodeToNodeVersion & NodeToClientVersion #4691
Conversation
coot
commented
Dec 2, 2022
- NodeToNodeVersion and NodeToClientVersion JSON instances
- Split WarningDevelopmentNetworkProtocolVersions
This is a small improvement for #4630. |
056867e
to
c477057
Compare
c477057
to
489d871
Compare
15fab2c
to
bfd3bde
Compare
bfd3bde
to
490fd94
Compare
I cherry picked some more commits from |
298ccb9
to
4331fc5
Compare
4331fc5
to
30b2c04
Compare
-- | Warn that peer-to-peer requires | ||
-- 'TestEnableDevelopmentNetworkProtocols' to be set. | ||
-- | ||
| P2PWarningDevelopementNetworkProtocols |
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.
Does this mean we no longer need the TestEnableDevelopmentNetworkProtocols
flag?
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.
We don't, but we might need it again in the future, so I think it's ok to keep it. There's no difference (for the user) if we parse it and not use it or not parse it at all.
6c94f79
to
125c8f8
Compare
bors merge |
4691: Use JSON instances for NodeToNodeVersion & NodeToClientVersion r=coot a=coot - NodeToNodeVersion and NodeToClientVersion JSON instances - Split WarningDevelopmentNetworkProtocolVersions Co-authored-by: Marcin Szamotulski <[email protected]>
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":"Validation Failed","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
Split it into node-to-node and node-to-client. This is needed so that the log contains information whether the version numbers (now encoded as numbers) are node-to-node or node-to-client version.
Fixes input-output-hk/ouroboros-network#3691
The warning is not needed as of ouroboros-network#3859.
P2P is now an early release: we encourage to enable it on at most one of the relays (if one has more than one relay). We don't advise yet to use it on BP nodes.
cf3ecc1
to
16805e6
Compare