Documentation
¶
Index ¶
- type Tree
- func (t *Tree) Close() error
- 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) Iterator(version uint64, start, end []byte, ascending bool) (corestore.Iterator, error)
- func (t *Tree) LoadVersion(version uint64) error
- func (t *Tree) LoadVersionForOverwriting(version uint64) error
- func (t *Tree) PausePruning(bool)
- func (t *Tree) Prune(version uint64) error
- func (t *Tree) Remove(key []byte) error
- func (t *Tree) Set(key, value []byte) error
- func (t *Tree) SetInitialVersion(version uint64) error
- func (t *Tree) Version() uint64
- func (t *Tree) WorkingHash() []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
func (*Tree) GetLatestVersion ¶
func (*Tree) LoadVersion ¶
func (*Tree) LoadVersionForOverwriting ¶
func (*Tree) PausePruning ¶
PausePruning is unnecessary in IAVL v2 due to the advanced pruning mechanism
func (*Tree) SetInitialVersion ¶
func (*Tree) WorkingHash ¶
Click to show internal directories.
Click to hide internal directories.