-
Notifications
You must be signed in to change notification settings - Fork 90
[WIP] Add ObjectDiffusion miniprotocol for Peras cert and vote diffusion #5181
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
Conversation
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs
Outdated
Show resolved
Hide resolved
|
@coot Thanks for the comments! Note though that this is early stage code (ie this is a draft PR), not yet intended for review by the Network team 😅 |
5f76136 to
bca44ca
Compare
7f76338 to
62e51e4
Compare
tbagrel1
left a comment
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
ouroboros-network-api/src/Ouroboros/Network/NodeToNode/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Inbound.hs
Outdated
Show resolved
Hide resolved
|
To prevent garbage-collection of commits: |
ea5de71 to
01d1928
Compare
|
To prevent garbage collection still: faf54aa |
amesgen
left a comment
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! I think we can squash this into two commits, one which adds the new NodeToNodeV_16, and another one that adds everything else.
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Codec.hs
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Codec.hs
Outdated
Show resolved
Hide resolved
faf54aa to
7209cec
Compare
9cea5df to
2a847d7
Compare
Co-authored-by: Agustin Mista <[email protected]> Co-authored-by: Alexander Esgen <[email protected]> Co-authored-by: Georgy Lukyanov <[email protected]> Co-authored-by: Thomas BAGREL <[email protected]> Co-authored-by: Nicolas BACQUEY <[email protected]> Co-authored-by: Nicolas "Niols" Jeannerod <[email protected]>
Co-authored-by: Agustin Mista <[email protected]> Co-authored-by: Alexander Esgen <[email protected]> Co-authored-by: Georgy Lukyanov <[email protected]> Co-authored-by: Thomas BAGREL <[email protected]> Co-authored-by: Nicolas BACQUEY <[email protected]> Co-authored-by: Nicolas "Niols" Jeannerod <[email protected]>
2a847d7 to
fabffbe
Compare
Closes tweag/cardano-peras#57. IntersectMBO/ouroboros-consensus#1615 depends on this PR.
Defines a new miniprotocol, ObjectDiffusion, highly inspired from TxSubmission, in which two peers are able to exchange abstract objects identified by IDs.
On a side note, this PR also adds a new miniprotocol parameter (and a corresponding default value) for the number of certs to ack for PerasCert diffusion (based on ObjectDiffusion).