Merkle trie
Analysis of Indexing Structures for Immutable Data
While straightforward solutions exist [for Set reconciliation], such as exchanging Bloom filters or hashes of the items, they incur π (|π΄| + |π΅|) communication and computation costs. The costs can be improved to logarithmic by hashing the sets into Merkle tries 39, where a trie node on depth π is the hash of a 1/2π -fraction of the set. Alice and Bob traverse and compare their tries, only descending into a sub-trie (subset) if their roots (hashes) differ. However, the costs are still dependent on |π΄|, |π΅|, and now takes π (log |π΄| + log |π΅|) round trips.