Documentation ¶
Index ¶
Constants ¶
View Source
const (
ProofType = "smt"
)
Variables ¶
This section is empty.
Functions ¶
func ProofDecoder ¶
func ProofDecoder(pop tmmerkle.ProofOp) (merkle.ProofOperator, error)
Types ¶
type ProofOp ¶
type ProofOp struct { Root []byte Key []byte Hasher HasherType Proof smt.SparseMerkleProof }
func NewProofOp ¶
func NewProofOp(root, key []byte, hasher HasherType, proof smt.SparseMerkleProof) *ProofOp
NewProofOp returns a ProofOp for a SparseMerkleProof.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store Implements types.KVStore and CommitKVStore.
func NewStore ¶
func NewStore(nodes, values dbm.DBReadWriter) *Store
Click to show internal directories.
Click to hide internal directories.