Content pfp
Content
@
0 reply
0 recast
2 reactions

EulerLagrange.eth pfp
EulerLagrange.eth
@eulerlagrange.eth
How sparse merkle trees work: Imagine you have a sorted array of integers, and you want to check if 5 is in it. If I prove to you 4 and 6 are right next to each other, then it’s a proof of the same. So a non-inclusion proof is a combination of two inclusion proofs.
2 replies
4 recasts
34 reactions

EulerLagrange.eth pfp
EulerLagrange.eth
@eulerlagrange.eth
SMTs are quick to update 1D analogy: O(N) sorting algo. You want to sort 0-99 that are in random order. Initialize array of size 100 that’s empty. Loop through random array, if you see the number 37, put it in the 36th index in empty array. QED. Works because each value has one location in the target array.
1 reply
0 recast
5 reactions

hana mari 🎩 pfp
hana mari 🎩
@hana1395
333 $degen
0 reply
0 recast
1 reaction