Skip to content
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

Merged
merged 4 commits into from
Nov 1, 2021
Merged

Use newly-released eth-trie #161

merged 4 commits into from
Nov 1, 2021

Conversation

carver
Copy link
Collaborator

@carver carver commented Oct 27, 2021

Include the new eth-trie, and add a TrieDB that implements the trie's DB trait for rocksDB.

@carver carver requested a review from lithp October 27, 2021 20:27
@carver

This comment has been minimized.

@carver carver marked this pull request as ready for review October 28, 2021 00:11
}

fn flush(&self) -> Result<(), Self::Error> {
Ok(())
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Copy link
Contributor

@lithp lithp left a 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!

@carver carver merged commit aaf5acf into master Nov 1, 2021
@carver carver deleted the use-eth-trie branch November 1, 2021 20:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants