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 ¶ added in v1.6.6
func (d MockDynamicConfig) GetCommitGapHeight() int64
func (MockDynamicConfig) GetIavlCacheSize ¶
func (d MockDynamicConfig) GetIavlCacheSize() int
func (MockDynamicConfig) GetIavlFSCacheSize ¶ added in v1.6.6
func (d MockDynamicConfig) GetIavlFSCacheSize() int64
func (MockDynamicConfig) SetCommitGapHeight ¶ added in v1.6.6
func (d MockDynamicConfig) SetCommitGapHeight(gap int64)
Click to show internal directories.
Click to hide internal directories.