Module ordered_root

Module ordered_root 

Source
Available on crate feature trie only.
Expand description

Incremental ordered trie root computation. Incremental ordered trie root computation.

This module provides builders for computing ordered trie roots incrementally as items arrive, rather than requiring all items upfront. This is useful for receipt root calculation during block execution, where we know the total count but receive receipts one by one as transactions are executed.

Structs§

OrderedTrieRootEncodedBuilder
A builder for computing ordered trie roots incrementally from pre-encoded items.

Enums§

OrderedRootError
Error returned when using OrderedTrieRootEncodedBuilder.