Skip to content

Consolidate existing mempool specs and documentation #1076

Closed

Description

@cason

At its current state, the repository does not really contain specific documentation about the mempool.

In the specification, the item mempool on spec/README.md points to spec/p2p/legacy-docs/messages/mempool.md, which documents the channel and the message used by the mempool reactor.

In the documentation, the docs/core/mempool.md entry is not very helpful as well in terms of documentation. While the mempool is mentioned in other locations, this is the only document that specifically refers to the mempool.

The goal of this issue are therefore two:

  1. Enumerate the existing content regarding the mempool (list of pending transactions) and the mempool protocol (that exchanges transactions between nodes)
  2. Create a location in the repository collecting the summary of the existing documentation, with pointers to the content enumerated in 1.

This issue should be seen as a (weak) dependency for the refactor/improvements proposed in #1048

Definition of Done

  • We have a spec/mempool directory in the repository with some basic content about this component/protocol of CometBFT
  • We populate this directory with the existing content, or links to the existing content, regarding the mempool, including recent specification/documentation efforts hosted elsewhere

Activity

  1. added
    spec
    meta
    on Jul 3, 2023
  2. self-assigned this
    on Jul 3, 2023
  3. removed
    meta
    on Jul 3, 2023
  4. hvanz commented on Jul 4, 2023

    @hvanz
    Collaborator

    Some info on the field ids: mempoolIDs in the mempool reactor: #1043 (comment)

  5. added this to the 2023-Q3 milestone on Jul 5, 2023
  6. changed the title [-]Consolidate the existing specs and documentation of the mempool[/-] [+]mempool: Consolidate existing specs and documentation[/+] on Jul 5, 2023
  7. added
    P:bandwidth-optimization
    on Jul 5, 2023
  8. changed the title [-]mempool: Consolidate existing specs and documentation[/-] [+]Consolidate existing mempool specs and documentation[/+] on Jul 5, 2023
  9. modified the milestones: 2023-Q3, 2023-Q4 on Oct 10, 2023
  10. modified the milestones: 2023-Q4, 2024-Q1 on Jan 10, 2024
  11. removed their assignment
    on Feb 21, 2024
  12. cason commented on Feb 21, 2024

    @cason
    Author

    @hvanz, can we solve this issue? Like moving the stable content to this repository? Do you mind take it over?

  13. removed this from the 2024-Q1 milestone on Apr 1, 2024
  14. hvanz commented on Dec 20, 2024

    @hvanz
    Collaborator

    Closing as spec/mempool now contains specs of all the mempool components (recently #4318 has added specs for the gossip protocols).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P:bandwidth-optimizationmempoolspec

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions