Skip to content

vm: mempool fifo #51

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

Merged
merged 1 commit into from
Sep 19, 2022
Merged

vm: mempool fifo #51

merged 1 commit into from
Sep 19, 2022

Conversation

hexfusion
Copy link
Contributor

The current mempool is very basic but useful until a more robust solution can be implemented. Because we are using a vec as a stack popping is lifo vs fifo. Using VecDeque allows us to maintain a logical fifo ordering of transactions.

Signed-off-by: Sam Batschelet [email protected]

Signed-off-by: Sam Batschelet <[email protected]>
@hexfusion hexfusion added this to the [email protected] milestone Sep 19, 2022
@hexfusion hexfusion self-assigned this Sep 19, 2022
@hexfusion hexfusion merged commit 31d5959 into main Sep 19, 2022
@hexfusion hexfusion deleted the mempool-fifo branch September 19, 2022 15:58
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.

1 participant