Documentation ¶ Index ¶ Constants func CalcRootHash(blocks []types.Block) ([]byte, error) func MerkleProof(blocks []types.Block, c uint64) ([][]byte, error) func VerifyMerkleProof(proof [][]byte, uniqueId []byte, i uint64) error Constants ¶ View Source const ( PROOF_LEN = 192 MAX_DEPTH = 65536 ) Variables ¶ This section is empty. Functions ¶ func CalcRootHash ¶ func CalcRootHash(blocks []types.Block) ([]byte, error) func MerkleProof ¶ func MerkleProof(blocks []types.Block, c uint64) ([][]byte, error) func VerifyMerkleProof ¶ func VerifyMerkleProof(proof [][]byte, uniqueId []byte, i uint64) error Types ¶ This section is empty. Source Files ¶ View all Source files merkle_pdp.go Click to show internal directories. Click to hide internal directories.