-
Notifications
You must be signed in to change notification settings - Fork 780
Description
This tasks tracks efforts in investigating how to optimize the propagation of transactions, namely the mempool protocol.
The goal is to investigate the literature on the topic and existing solutions adopted by other blockchain products in order to identify alternative propagation approaches that may be applied to CometBFT. Even if an approach cannot be directly applied to CometBFT, it may have aspects that might be considered on future designs of the mempool.
Original issue: tendermint/tendermint#9925
Literature
Transaction propagation can be translated into gossiping pieces of information in an unknown, unstructured, and partially connected network. Some fundamental and general references for gossip to start the investigation:
- Epidemic algorithms for replicated database maintenance (1987)
- Bimodal Multicast (1999)
- Gossip (book chapter, 2011)
In addition, we should survey literature on gossip and anti-entropy protocols, with an emphasis on BFT solutions.
Other protocols
This is a (not comprehensive and under construction) list of existing solutions for transaction propagation:
- Celestia
- Content Addressable Transaction Pool
- This topic was already discussed, but we need to document the outputs
- Narwhal mempool:
- Solana:
- CodedHotstuff
- Anoma/Thyphon:
Definition of Done
- We have identified alternatives for transaction propagating that may be applied to CometBFT.
- We have an initial comparison of pros and cons of each alternative we have identified and investigated.