Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RPC *RPCConfig `toml:"rpc"`
Grpc *GrpcConfig `toml:"grpc"`
Cosmos *CosmosConfig `toml:"cosmos"`
Database *DatabaseConfig `toml:"database"`
Logging *LoggingConfig `toml:"logging"`
Parsing *ParsingConfig `toml:"parsing"`
Pruning *PruningConfig `toml:"pruning"`
Telemetry *TelemetryConfig `toml:"telemetry"`
}
type CosmosConfig ¶
type DatabaseConfig ¶
type DatabaseConfig struct {
Name string `toml:"name"`
Host string `toml:"host"`
Port int64 `toml:"port"`
User string `toml:"user"`
Password string `toml:"password"`
SSLMode string `toml:"ssl_mode"`
Schema string `toml:"schema"`
MaxOpenConnections int `toml:"max_open_connections"`
MaxIdleConnections int `toml:"max_idle_connections"`
}
type GrpcConfig ¶
type LoggingConfig ¶
type ParsingConfig ¶
type ParsingConfig struct {
Workers int64 `toml:"workers"`
ParseNewBlocks bool `toml:"listen_new_blocks"`
ParseOldBlocks bool `toml:"parse_old_blocks"`
GenesisFilePath string `toml:"genesis_file_path"`
ParseGenesis bool `toml:"parse_genesis"`
StartHeight int64 `toml:"start_height"`
FastSync bool `toml:"fast_sync"`
}
type PruningConfig ¶
type TelemetryConfig ¶
Click to show internal directories.
Click to hide internal directories.