[][src]Function sp_state_machine::merge_storage_proofs

pub fn merge_storage_proofs<I>(proofs: I) -> StorageProof where
    I: IntoIterator<Item = StorageProof>, 

Merges multiple storage proofs covering potentially different sets of keys into one proof covering all keys. The merged proof output may be smaller than the aggregate size of the input proofs due to deduplication of trie nodes.