Expand description
Reference implementation of a streamer.
Modules§
Structs§
- Allow
Empty Layout - Trie that allows empty values
- Bitmap
- Children bitmap codec for radix 16 trie.
- Extension
Layout - Trie layout using extension nodes.
- Generic
NoExtension Layout - Trie layout without extension nodes, allowing generic hasher.
- Reference
Node Codec - Simple reference implementation of a
NodeCodec. - Reference
Node Codec NoExt - Simple reference implementation of a
NodeCodec. Even if implementation follows initial specification of https://github.com/w3f/polkadot-re-spec/issues/8, this may not follow it in the future, it is mainly the testing codec without extension node. - Reference
Trie Stream - Reference implementation of a
TrieStreamwith extension nodes. - Reference
Trie Stream NoExt - Reference implementation of a
TrieStreamwithout extension.
Traits§
- Trie
Stream - Byte-stream oriented trait for constructing closed-form tries.
Functions§
- calc_
root - Trie builder root calculation utility.
- calc_
root_ build - Trie builder trie building utility.
- calc_
root_ build_ no_ extension - Trie builder trie building utility. This uses the variant without extension nodes.
- calc_
root_ no_ extension - Trie builder root calculation utility. This uses the variant without extension nodes.
- compare_
implementations - Compare trie builder and in memory trie.
- compare_
implementations_ no_ extension - Compare trie builder and in memory trie. This uses the variant without extension nodes.
- compare_
implementations_ no_ extension_ unordered compare_implementations_no_extensionfor unordered input (tetsy_trie_root does ordering before running when trie_build expect correct ordering).- compare_
no_ extension_ insert_ remove - Testing utility that uses some periodic removal over its input test data.
- compare_
root - Compare trie builder and trie root implementations.
- compare_
unhashed - Compare trie builder and trie root unhashed implementations.
- compare_
unhashed_ no_ extension - Compare trie builder and trie root unhashed implementations. This uses the variant without extension nodes.
- tetsy_
reference_ trie_ root - tetsy_
reference_ trie_ root_ no_ extension