Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMT ¶
func (*SMT) AddMessage ¶
func (s *SMT) AddMessage(msg SmtMessage) error
func (*SMT) ProveCompact ¶
func (s *SMT) ProveCompact(key []byte) (*smt.SparseCompactMerkleProof, error)
type SMTVerifierCompactProof ¶
type SMTVerifierCompactProof struct { Key [32]byte Value [32]byte BitMask *big.Int SideNodes [][32]byte NumSideNodes *big.Int NonMembershipLeafPath [32]byte NonMembershipLeafValue [32]byte }
func NewSMTVerifierProof ¶
func NewSMTVerifierProof(key, value [32]byte, proof *smt.SparseCompactMerkleProof) *SMTVerifierCompactProof
type SmtMessage ¶
Click to show internal directories.
Click to hide internal directories.