We've just released rs-merkle-tree, a Merkle tree crate designed with performance and modularity in mind. It comes with the following key features: * Fixed depth: All proofs have a constant size equal to the depth of the tree. The depth can be configured via a const generic. * Append-only: Leaves are added sequentially starting from index 0. Once added, a leaf cannot be modified. * Optimized for Merkle proof retrieva…
For those in the know... Do you have any recommended reading for Merkle-curious people that may have some scars from blockchain-related hype? It would be nice to find a nice introductory resource that covers some interesting use-cases that may not be well-known. Perhaps with nice graphics, interactivity, etc.? For example, here is a slick web site that shows how certificate transparency uses Merkle trees: https://cer…
[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...
Also, ETags can use weak validators:
> W/ (case-sensitive) indicates that a weak validator is used. Weak ETags are easy to generate, but are far less useful for comparisons. Strong validators are ideal for comparisons but can be very difficult to generate efficiently. Weak ETag values of two representations of the same resources might be semantically equivalent, but not byte-for-byte identical. This means weak ETags prevent caching when byte range requests are used, but strong ETags mean range requests can still be cached.