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

Skip DB flush for read-only mode. #73

Merged
merged 2 commits into from May 15, 2014

Conversation

domob1812
Copy link
Contributor

Only flush databases on close when they were in read-write mode. Plus some minor clean-up of the name database code.

@phelixbtc
Copy link
Contributor

ACK

@phelixbtc
Copy link
Contributor

@domob1812 could you rework this for the current state?

Don't txn_commit a DB on close if it was in read-only mode.
Make the vector<CNameIndex> value passed to WriteName const, as it
should be (since it won't be changed).
@domob1812
Copy link
Contributor Author

Done.

phelixbtc added a commit that referenced this pull request May 15, 2014
Skip DB flush for read-only mode.
@phelixbtc phelixbtc merged commit d735f4c into namecoin:namecoinq May 15, 2014
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