48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[grpc]
|
|
# Enable defines if the gRPC server should be enabled.
|
|
enable = false
|
|
# Address defines the gRPC server address to bind to.
|
|
address = 'localhost:9090'
|
|
# MaxRecvMsgSize defines the max message size in bytes the server can receive.
|
|
# The default value is 10MB.
|
|
max-recv-msg-size = 10485760
|
|
# MaxSendMsgSize defines the max message size in bytes the server can send.
|
|
# The default value is math.MaxInt32.
|
|
max-send-msg-size = 2147483647
|
|
|
|
[store]
|
|
# The type of database for application and snapshots databases.
|
|
app-db-backend = 'goleveldb'
|
|
|
|
[store.options]
|
|
# State storage database type. Currently we support: 0 for SQLite, 1 for Pebble
|
|
ss-type = 0
|
|
# State commitment database type. Currently we support:0 for iavl, 1 for iavl v2
|
|
sc-type = 0
|
|
|
|
# Pruning options for state storage
|
|
[store.options.ss-pruning-option]
|
|
# Number of recent heights to keep on disk.
|
|
keep-recent = 2
|
|
# Height interval at which pruned heights are removed from disk.
|
|
interval = 100
|
|
|
|
# Pruning options for state commitment
|
|
[store.options.sc-pruning-option]
|
|
# Number of recent heights to keep on disk.
|
|
keep-recent = 2
|
|
# Height interval at which pruned heights are removed from disk.
|
|
interval = 100
|
|
|
|
[store.options.iavl-config]
|
|
# CacheSize set the size of the iavl tree cache.
|
|
cache-size = 100000
|
|
# If true, the tree will work like no fast storage and always not upgrade fast storage.
|
|
skip-fast-storage-upgrade = true
|
|
|
|
[mock-server-1]
|
|
# Mock field
|
|
mock_field = 'default'
|
|
# Mock field two
|
|
mock_field_two = 1
|