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

Improve name of AccountDB.lock_changes() #1990

Open
carver opened this issue Mar 16, 2021 · 0 comments
Open

Improve name of AccountDB.lock_changes() #1990

carver opened this issue Mar 16, 2021 · 0 comments

Comments

@carver
Copy link
Contributor

carver commented Mar 16, 2021

Maybe call end_previous_txn() or mark_new_transaction().

The point is that we need some explicit way to reset some things that need to be reset in between transactions. Currently, that means making sure that the account & storage journal cannot be rolled back past the beginning of the transaction, and that the cache warmth tracking is reset to empty.

Originally posted by @carver in #1986 (comment)

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

No branches or pull requests

1 participant