Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port uint32 `toml:"port"`
HyperBlockPath string `toml:"hyperBlockPath"`
HyperBlocksPath string `toml:"hyperBlocksPath"`
HyperBlocksBatchSize uint32 `toml:"hyperBlocksBatchSize"`
MultiversxProxyUrl string `toml:"multiversxProxyUrl"`
RequestTimeOutSec uint64 `toml:"requestTimeOutSec"`
HyperBlockQueryOptions HyperBlockQueryOptions `toml:"hyperBlockQueryOptions"`
}
Config holds the config for covalent proxy
func LoadConfig ¶
LoadConfig will load the Config from the provided file
type FlagsLog ¶
type FlagsLog struct {
WorkingDir string
LogLevel string
DisableAnsiColor bool
SaveLogFile bool
EnableLogName bool
}
FlagsLog holds the log flags
type HyperBlockQueryOptions ¶
type HyperBlockQueryOptions struct {
WithLogs bool `toml:"withLogs"`
WithAlteredAccounts bool `toml:"withAlteredAccounts"`
NotarizedAtSource bool `toml:"notarizedAtSource"`
Tokens string `toml:"tokens"`
}
HyperBlockQueryOptions holds the hyper block query params options
type HyperBlocksQueryOptions ¶
type HyperBlocksQueryOptions struct {
QueryOptions HyperBlockQueryOptions
BatchSize uint32
}
HyperBlocksQueryOptions holds the hyper blocks query params options
Click to show internal directories.
Click to hide internal directories.