Matematicka Analiza Merkle 19.pdf -

The analysis might prove that any permutation of children that preserves the sorted order of their hashes yields the same root. This is critical for distributed systems: two miners in a blockchain can build the same block with transactions in different order, as long as they sort the Merkle leaves identically. So, what makes this draft interesting? It’s the realization that a single number—19—is not arbitrary. It emerges from solving an optimization problem:

Let’s think of the Merkle root $R$ as a random variable. If an adversary wants to fool you, they need to find two different sets of leaves $(L_1, L_2)$ such that: $$MerkleRoot(L_1) = MerkleRoot(L_2)$$ Matematicka Analiza Merkle 19.pdf

Where $b$ is the branching factor, $C_{\text{hash}}$ is the cost of hashing one child, and $C_{\text{net}}$ is the cost of transmitting one hash. The analysis might prove that any permutation of

If you solve that for typical hardware (say, SHA-256 at 1µs, network at 100µs per hash), the optimal $b$ hovers around 16–22. The number 19 is the mathematical sweet spot for a specific era of computing (late 2010s, early 2020s). The Matematicka Analiza Merkle 19.pdf is likely a love letter to applied discrete mathematics. It takes a concept that many use as a black box (the blockchain Merkle root) and tears it open to reveal the number theory, probability, and optimization inside. It’s the realization that a single number—19—is not

Back
Top