Documentation
¶
Index ¶
- type MultiTree
- func (mt *MultiTree) Close() error
- func (mt *MultiTree) Hash() []byte
- func (mt *MultiTree) LoadVersion(version int64) error
- func (mt *MultiTree) MountTree(storeKey string) error
- func (mt *MultiTree) MountTrees() error
- func (mt *MultiTree) QueryReport(bins int) error
- func (mt *MultiTree) SaveVersion() ([]byte, int64, error)
- func (mt *MultiTree) SaveVersionConcurrently() ([]byte, int64, error)
- func (mt *MultiTree) SnapshotConcurrently() error
- func (mt *MultiTree) TestBuild(opts *testutil.TreeBuildOptions) (int64, error)
- func (mt *MultiTree) WarmLeaves() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiTree ¶
MultiTree encapsulates multiple IAVL trees, each with its own "store key" in the context of the Cosmos SDK. Within IAVL v2 is only used to test the IAVL v2 implementation, and for import/export of IAVL v2 state.
func ImportMultiTree ¶
func NewMultiTree ¶
func (*MultiTree) Hash ¶
Hash is a stand in for code at https://github.com/cosmos/cosmos-sdk/blob/80dd55f79bba8ab675610019a5764470a3e2fef9/store/types/commit_info.go#L30 it used in testing. App chains should use the store hashing code referenced above instead.
func (*MultiTree) LoadVersion ¶
func (*MultiTree) MountTrees ¶
func (*MultiTree) QueryReport ¶
func (*MultiTree) SaveVersionConcurrently ¶
func (*MultiTree) SnapshotConcurrently ¶
func (*MultiTree) TestBuild ¶
func (mt *MultiTree) TestBuild(opts *testutil.TreeBuildOptions) (int64, error)
func (*MultiTree) WarmLeaves ¶
Click to show internal directories.
Click to hide internal directories.