Documentation ¶
Index ¶
Constants ¶
View Source
const ( // This is the pool ID that is used for converting between UOSMO and USDC // for liquidity pricing. // https://app.osmosis.zone/pool/1263 DefaultUSDCUOSMOPool = 1263 )
Variables ¶
View Source
var DefaultConfig = Config{ IsEnabled: false, GRPCIngestAddress: "localhost:50051", GRPCIngestMaxCallSizeBytes: 50 * 1024 * 1024, }
DefaultConfig defines the default config for the sidecar query server.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // IsEnabled defines if the sidecar query server is enabled. IsEnabled bool `mapstructure:"enabled"` // GRPCIngestAddress defines the gRPC address of the sidecar query server ingest. GRPCIngestAddress string `mapstructure:"grpc-ingest-address"` // GRPCIngestMaxCallSizeBytes defines the maximum size of a gRPC ingest call in bytes. GRPCIngestMaxCallSizeBytes int `mapstructure:"grpc-ingest-max-call-size-bytes"` }
Config defines the config for the sidecar query server.
func NewConfigFromOptions ¶
func NewConfigFromOptions(opts servertypes.AppOptions) Config
NewConfigFromOptions returns a new sidecar query server config from the given options.
Click to show internal directories.
Click to hide internal directories.