package
1.5.0
Repository: https://github.com/meshplus/gosdk.git
Documentation: pkg.go.dev

# Functions

CalProofNodeHash calculate hash for given ProofNode.
CheckDIDHasIllegalBytes return true if has illegal byte.
NewAccountFromAddress create HPCAccount by address.
NewAccountFromDID create HPCAccount by didAccount.
NewDIDAccount create a empty didAccount.
NewDIDAccountFromOrigin create didAccount from origin bytes.
Validate validates poof with given key.
ValidateMerkleProof validate merkleProof using targetTxHash and blockTxRootHash.

# Constants

DIDPrefix.
DIDPrefix.

# Structs

DIDAccount represent did address.
HPCAccount wrap address and DIDAccount.
Inode struct.
MerkleProofNode struct.
ProofNode struct.

# Type aliases

Inodes struct.
MerkleProofPath struct.
ProofPath struct.