Documentation
¶
Index ¶
- type Tree
- func (t *Tree) Commit() ([]byte, uint64, error)
- func (t *Tree) Export(version uint64) (commitment.Exporter, error)
- func (t *Tree) Get(version uint64, key []byte) ([]byte, error)
- func (t *Tree) GetLatestVersion() (uint64, error)
- func (t *Tree) GetProof(version uint64, key []byte) (*ics23.CommitmentProof, error)
- func (t *Tree) Hash() []byte
- func (t *Tree) Import(version uint64) (commitment.Importer, error)
- func (t *Tree) LoadVersion(version uint64) error
- func (t *Tree) LoadVersionForOverwriting(version uint64) error
- func (t *Tree) Prune(version uint64) error
- func (t *Tree) Remove(key []byte) error
- func (t *Tree) SetInitialVersion(version uint64) error
- func (t *Tree) Version() uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
Tree is a simple in-memory implementation of commitment.Tree.
func (*Tree) GetLatestVersion ¶
func (*Tree) LoadVersion ¶
func (*Tree) LoadVersionForOverwriting ¶
func (*Tree) SetInitialVersion ¶
Click to show internal directories.
Click to hide internal directories.