eth-trie.rs
eth-trie.rs copied to clipboard
Rust implementation of the Modified Patricia Tree (aka Trie).
The root hash calculation returns a wrong value when some keys are removed. This does not happen for all keys. Here is a test that reproduces the bug: ```rust #[test]...
This would probably reduce memory allocations, after seeing the new `to_vec()`s added in #24 . It might just be a nicer class to use when doing arbitrary bytestring manipalations, too....
Use the same test fixtures used by py-trie to generate all the tests to run.