Skip to content
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

Introduce BFTStore and TransmissionStore #2123

Draft
wants to merge 26 commits into
base: testnet3
Choose a base branch
from

Conversation

raychu86
Copy link
Contributor

Motivation

This PR implements a TransmissionStore to store a list of transmissions based on the current round. This will help replace the in-memory tracking of the transmissions, which could lead to BFT issues when nodes reboot. These transmissions can be GC'd later to reduce state bloat.

Note: This will break current the database structure, and we may need to move the MapID ordering for the TransmissionMap enum.

TODO:

  • Add the Transmission store to the Ledger or ConsensusStore

@howardwu howardwu changed the title Introduce TransmissionStore Introduce BFTStore and TransmissionStore Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants