07-03
Here's a futuristic idea for a merkle tree.
We commit to an unordered binary merkle tree, where items are inserted to the tree based on a
deterministic ordering. Leaf node preimages provide a kind of run-length encoding for
proving nonexistence of keys, and deleted leaf nodes are overwritten to form a linked list of all
deleted free positions to be overwritten.
Leaf hashes are H(key ++ value hash ++ distance), where distance is the
the next key (lexicographical order) minus the key. Deleted leaves form a linked list.