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

Refactor to pass batch around explicitly #3176

Merged
merged 2 commits into from
Jan 28, 2020

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Dec 20, 2019

Refactor to pass batch around explicitly rather than maintaining it on the extension.
This provides a cleaner separation between the PMMR backend and the lmdb database batch.

We would like to be able to pass an extension around and potentially clone it without needing to be concerned with the db batch.

@antiochp antiochp changed the title Refactor to pass batch around explicitly [DNM] Refactor to pass batch around explicitly Dec 20, 2019
@antiochp antiochp changed the title [DNM] Refactor to pass batch around explicitly Refactor to pass batch around explicitly Jan 22, 2020
…e extension.

We would like to be able to pass an extension around and potentially clone it.
Copy link
Member

@quentinlesceller quentinlesceller left a comment

Choose a reason for hiding this comment

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

Looking good to me, clean improvement.

@quentinlesceller quentinlesceller merged commit 9ec9d04 into mimblewimble:master Jan 28, 2020
@antiochp antiochp mentioned this pull request Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants