Skip to main content

Module trie_db_0_31_decoder

Module trie_db_0_31_decoder 

Source
Expand description

Verbatim compact-proof decoder of the released trie-db 0.31.0 (only imports adjusted).

A frozen snapshot of deployed decoder behavior — do not update. It exists so tests and fuzzers can assert that deduplicated proofs (see encode_compact_skip_duplicates) stay decodable by decoders already in the field. Reconstructs into a hash-keyed database only; the 0.31.0 decoder inserts attached values under an incomplete prefix in a position-keyed database (fixed by #227), so prefixed databases are out of scope.

Functions§

decode_compact_from_iter