Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultCommitGapHeight = 100
)
Variables ¶
This section is empty.
Functions ¶
func SetDynamicConfig ¶
func SetDynamicConfig(c IDynamicConfig)
Types ¶
type IDynamicConfig ¶
type IDynamicConfig interface { GetIavlCacheSize() int GetIavlFSCacheSize() int64 GetCommitGapHeight() int64 SetCommitGapHeight(gap int64) }
var DynamicConfig IDynamicConfig = MockDynamicConfig{/* contains filtered or unexported fields */}
type MockDynamicConfig ¶
type MockDynamicConfig struct {
// contains filtered or unexported fields
}
func (MockDynamicConfig) GetCommitGapHeight ¶
func (d MockDynamicConfig) GetCommitGapHeight() int64
func (MockDynamicConfig) GetIavlCacheSize ¶
func (d MockDynamicConfig) GetIavlCacheSize() int
func (MockDynamicConfig) GetIavlFSCacheSize ¶
func (d MockDynamicConfig) GetIavlFSCacheSize() int64
func (MockDynamicConfig) SetCommitGapHeight ¶
func (d MockDynamicConfig) SetCommitGapHeight(gap int64)
Click to show internal directories.
Click to hide internal directories.