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

txdag: Add the dependency of read-before-write to the DAG #184

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

welkin22
Copy link
Contributor

Description

We need to ensure that write transactions on the data occur after read transactions. Therefore, if there is a read transaction before a write transaction, the read transaction will be added to the dependency list.

@sunny2022da sunny2022da requested review from galaio, sunny2022da and andyzhang2023 and removed request for owen-reorg and bnoieh September 24, 2024 10:58
Copy link
Collaborator

@sunny2022da sunny2022da left a comment

Choose a reason for hiding this comment

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

lgtm

@galaio galaio merged commit 542c9d6 into bnb-chain:feature/TxDAG Sep 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants