-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
database: add pebbledb support #2307
base: master
Are you sure you want to change the base?
Conversation
fix pebble.Has method
fix pebbledb iterator
Approved CI run. |
This is a big change and I see that you're still making changes here. Do ping me once things are ready for review! |
Thank you @kcalvinalvin, It is ready for review! |
Approved CI run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Please check the contribution guidelines regarding Ideal Git Commit Structure.
Overview
This PR introduces PebbleDB as a new database engine, an alternative to leveldb. #2024 #1339
To support multiple database engines (PebbleDB and LevelDB), db interface has been implemented in ffldb.
How to run
./btcd --dbtype=pebbledb
Caution
This update requires Go 1.22+. #2306