feat: configurable fastnode (#13321)
This commit is contained in:
@@ -64,6 +64,11 @@ func SetIAVLCacheSize(size int) func(*BaseApp) {
|
||||
return func(bapp *BaseApp) { bapp.cms.SetIAVLCacheSize(size) }
|
||||
}
|
||||
|
||||
// SetIAVLDisableFastNode enables(false)/disables(true) fast node usage from the IAVL store.
|
||||
func SetIAVLDisableFastNode(disable bool) func(*BaseApp) {
|
||||
return func(bapp *BaseApp) { bapp.cms.SetIAVLDisableFastNode(disable) }
|
||||
}
|
||||
|
||||
// SetInterBlockCache provides a BaseApp option function that sets the
|
||||
// inter-block cache.
|
||||
func SetInterBlockCache(cache sdk.MultiStorePersistentCache) func(*BaseApp) {
|
||||
|
||||
Reference in New Issue
Block a user