-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use newly-released eth-trie #161
Conversation
... eventually. For now, this basically just checks that everything builds.
This comment has been minimized.
This comment has been minimized.
} | ||
|
||
fn flush(&self) -> Result<(), Self::Error> { | ||
Ok(()) |
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.
woah! does this mean rocksdb does a commit / fsyncs after every operation?
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.
Yeah, there is some way to do a batch write operation in their API, but I haven't used it yet.
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.
looks good to me!
Include the new eth-trie, and add a
TrieDB
that implements the trie's DB trait for rocksDB.