Skip to content

spec(mempool/dog): Add spec of DOG gossip protocol - #4477

Merged
hvanz merged 83 commits into
mainfrom
hvanz/dog-spec-4318
Nov 29, 2024
Merged

hvanz merged 83 commits into
mainfrom
hvanz/dog-spec-4318

Conversation

@hvanz

@hvanz hvanz commented Nov 12, 2024 •

Copy link
Copy Markdown
Collaborator

Solves #4318

Based on #4476

README.md

@hvanz
hvanz requested a review from a team as a code owner November 25, 2024 08:42
@hvanz hvanz removed the wip Work in progress label Nov 25, 2024

@melekes melekes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏆

@melekes

melekes commented Nov 26, 2024

Copy link
Copy Markdown
Collaborator

@hvanz
hvanz requested a review from sergio-mena November 26, 2024 09:31

@cason cason left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good formalization work.

I think my most relevant comment is the decision when to send HaveTx messages. It is not clear, until we go deep into details, that we send it at most once every cycle of the redundancy manager loop.

Regarding the generated Quint models, I don't think we can actually run any of them, right? Maybe as a follow-up task, create a model that allows playing with DOG, for instance, but setting up the required constants, defining the default init and step actions.

Comment thread spec/mempool/gossip/README.md Resolved
Comment thread spec/mempool/gossip/README.md Resolved
Comment thread spec/mempool/gossip/README.md Resolved
Comment thread spec/mempool/gossip/README.md Resolved
Comment thread spec/mempool/gossip/README.md Resolved
Comment thread spec/mempool/gossip/dog.md Resolved
Comment thread spec/mempool/gossip/dog.md Resolved
Comment thread spec/mempool/gossip/dog.md Resolved
Comment thread spec/mempool/gossip/dog.md Resolved
Comment thread spec/mempool/gossip/dog.md Resolved
@hvanz
hvanz enabled auto-merge November 29, 2024 08:03
@hvanz
hvanz added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit f409e79 Nov 29, 2024
@hvanz
hvanz deleted the hvanz/dog-spec-4318 branch November 29, 2024 08:07
hvanz added a commit to InjectiveLabs/cometbft-archived that referenced this pull request Mar 12, 2025
Contributes to cometbft#4318

The DOG spec is based on Flood's spec (cometbft#4477)


[README.md](https://github.com/cometbft/cometbft/tree/hvanz/flood-spec-4318/spec/mempool/gossip/)

---------

Co-authored-by: Andy Nogueira <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
hvanz added a commit to InjectiveLabs/cometbft-archived that referenced this pull request Mar 12, 2025
maxim-inj pushed a commit to InjectiveLabs/cometbft-archived that referenced this pull request Mar 15, 2025
Contributes to cometbft#4318

The DOG spec is based on Flood's spec (cometbft#4477)


[README.md](https://github.com/cometbft/cometbft/tree/hvanz/flood-spec-4318/spec/mempool/gossip/)

---------

Co-authored-by: Andy Nogueira <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
maxim-inj pushed a commit to InjectiveLabs/cometbft-archived that referenced this pull request Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mempool P:bandwidth-optimization Priority: Optimize bandwidth usage spec Specification-related

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

mempool/dog: Write spec

5 participants