You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
419 B
10 lines
419 B
8 years ago
|
MerkleProof
|
||
|
=============================================
|
||
|
|
||
|
Merkle proof verification for leaves of a Merkle tree.
|
||
|
|
||
|
verifyProof(bytes _proof, bytes32 _root, bytes32 _leaf) internal constant returns (bool)
|
||
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||
|
|
||
|
Verifies a Merkle proof proving the existence of a leaf in a Merkle tree. Assumes that each pair of leaves and each pair of pre-images is sorted.
|