Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchVerifyMembership ¶
func BatchVerifyMembership( ctx sdk.Context, proof exported.Proof, prefix exported.Prefix, items map[string][]byte, ) error
BatchVerifyMembership verifies a proof that many paths have been set to specific values in a commitment. It calls the proof's VerifyMembership method with the calculated root and the provided paths. Returns false on the first failed membership verification.
func BatchVerifyNonMembership ¶
func BatchVerifyNonMembership( ctx sdk.Context, proof exported.Proof, prefix exported.Prefix, paths []string, ) error
BatchVerifyNonMembership verifies a proof that many paths have not been set to any value in a commitment. It calls the proof's VerifyNonMembership method with the calculated root and the provided paths. Returns false on the first failed non-membership verification.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.