This is the primary interface for binding RPC interface
#zekndLogLevel
Options: debug, info, warn, error
General logging for the zeknd Blockchain
#ContractLogLevel
Options: debug, info, warn, error
General logging for the Go Based Smart contracts.
#BFTLogLevel
Options: debug, info, warn, error
General logging for the BFT Layer Blockchain. This may change based on which BFT engine you are using.
#EthereumURI
Options: "ws://127.0.0.1:8545"
This is the URL of the Ethereum Blockchain to read data for Basechain and Transfer Gateway. In future, we will have support for Infura also.
#ChainID
Options: "awesomechain"
This is the name of your chain, for example "eth", "zombiechain", "test-zombiechain", "delegatecall".
#config.toml
If you are using tendermint BFT engine, you can modify this file, otherwise leave it alone.
#ABCIAddress
Options: "http://127.0.0.1:45667"
Port for tendermint BFT engine
#ReceiptsVersion
Options: 1,2
Most users should set this to 1, and the EVM receipts will be stored in the application store. If the number is set to 2, EVM receipts are stored in a seperate database. This is better for disk usage. However, it affects the AppHashes, so the entire cluster must be initialized with the same version, and it must not be changed after initialization.
#RegistryVersion
Options: 1,2
Most users should set this to 2. This is the latest version of the smart contract registry. The entire cluster needs to be initialized with the same version, and it must not be changed after initialization.
#POWVersion
Options: 1,2,3
The entire cluster needs to be on same version, and it must not be changed after initialization.
#CreateEmptyBlocks
Boolean: true, false
Most clusters will want to disable empty blocks to save disk space.
#AppStore
Configures how much history is retained in app.db. It should be enabled on production clusters, and dev clusters that don't get wiped often. A new app.db version is created with each block, so without these settings nodes will consume significantly more disk space.
#CompactOnLoad
Will compact app.db when the node starts. This affects node start times, but ensures disk space that's taken up by old app.db versions is freed.
#MaxVersions
Max versions stored in the app store. Each time a block is committed a new version of the app state is stored in the store. This doesn't affect how many blocks/transactions are stored in the blockchain store.
type KarmaConfig struct {
Enabled bool // Activate karma module
ContractEnabled bool // Allows you to deploy karma contract to collect data even if chain doesn't use it
UpkeepEnabled bool // Adds an upkeep cost to deployed and active contracts for each user
MaxCallCount int64 // Maximum number call transactions per session duration
SessionDuration int64 // Session length in seconds
}
CachingStoreConfig:
CachingEnabled: {{ .CachingStoreConfig.CachingEnabled }}
# Number of cache shards, value must be a power of two
Shards: {{ .CachingStoreConfig.Shards }}
# Time after we need to evict the key
EvictionTimeInSeconds: {{ .CachingStoreConfig.EvictionTimeInSeconds }}
# interval at which clean up of expired keys will occur
CleaningIntervalInSeconds: {{ .CachingStoreConfig.CleaningIntervalInSeconds }}
# Total size of cache would be: MaxKeys*MaxSizeOfValueInBytes
MaxKeys: {{ .CachingStoreConfig.MaxKeys }}
MaxSizeOfValueInBytes: {{ .CachingStoreConfig.MaxSizeOfValueInBytes }}
# Logs operations
Verbose: {{ .CachingStoreConfig.Verbose }}
LogLevel: "{{ .CachingStoreConfig.LogLevel }}"
LogDestination: "{{ .CachingStoreConfig.LogDestination }}"
EventDispatcher:
# Available dispatcher: "db_indexer" | "log" | "redis"
Dispatcher: "db_indexer"
# Redis will be use when Dispatcher is "redis"
Redis:
URI: "{{.EventDispatcher.Redis.URI}}"
AppStore:
# Version is default to 1, if you want higher perfromant evm.db split store use 3
Version: 3
# If true the app store will be compacted before it's loaded to reclaim disk space.
CompactOnLoad: {{ .AppStore.CompactOnLoad }}
# Maximum number of app store versions to keep, if zero old versions will never be deleted.
MaxVersions: {{ .AppStore.MaxVersions }}
# Number of seconds to wait after pruning a batch of old versions from the app store.
# If this is set to zero the app store will only be pruned after a new version is saved.
PruneInterval: {{ .AppStore.PruneInterval }}
# Number of versions to prune at a time.
PruneBatchSize: {{ .AppStore.PruneBatchSize }}