Expand description
Merkle tree types.
§Usage
During notarization, the Prover
generates various commitments to the transcript data, which are subsequently
inserted into a MerkleTree
. Rather than send each commitment to the Notary individually, the Prover
simply sends the
MerkleRoot
. This hides the number of commitments from the Notary, which is important for privacy as it can leak
information about the content of the transcript.
Later, during selective disclosure to a Verifier
, the Prover
can open any subset of the commitments in the MerkleTree
by providing a MerkleProof
for the corresponding MerkleRoot
which was signed by the Notary.
Structs§
- A Merkle proof.
- A Merkle root.
- A Merkle tree.
Enums§
- Errors that can occur during operations with Merkle tree and Merkle proof