types

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackoffMaxRetries = 15
	SegmentKey        = "oLhjq9j6pOrIB7TjNHxWWB1ILhK5Fwn6"
)
View Source
const (
	BACKUP  = "BACKUP"
	INIT    = "INIT"
	PRUNE   = "PRUNE"
	START   = "START"
	VERSION = "VERSION"
)

Variables

View Source
var (
	KaonEndpoints = []string{
		"https://api.kaon.kyve.network",
	}
	KorelliaEndpoints = []string{
		"https://api.korellia.kyve.network",
	}
	MainnetEndpoints = []string{
		"https://api.kyve.network",
	}
)
View Source
var Version string

Functions

This section is empty.

Types

type Config

type Config = tmCfg.Config

type GenesisDoc added in v0.2.1

type GenesisDoc = tmTypes.GenesisDoc

type HeightResponse

type HeightResponse struct {
	Result struct {
		Response struct {
			LastBlockHeight string `json:"last_block_height"`
		} `json:"response"`
	} `json:"result"`
}

type Metrics added in v0.2.0

type Metrics struct {
	PoolHeight  prometheus.Gauge
	NodeHeight  prometheus.Gauge
	MaxHeight   prometheus.Gauge
	MinHeight   prometheus.Gauge
	DataDirSize prometheus.Gauge
}

type PoolSettingsType

type PoolSettingsType struct {
	MaxBundleSize  int
	UploadInterval int
}

type ProcessType

type ProcessType struct {
	Id        int
	GhostMode bool
}

type SettingsResponse

type SettingsResponse struct {
	Pool struct {
		Data struct {
			StartKey       string `json:"start_key"`
			CurrentKey     string `json:"current_key"`
			UploadInterval string `json:"upload_interval"`
			MaxBundleSize  string `json:"max_bundle_size"`
		} `json:"data"`
	} `json:"pool"`
}

type SettingsType

type SettingsType struct {
	MaxDifference int
	Seeds         string
	Interval      int
	KeepEvery     int
	KeepRecent    int
}

type SupervysorConfig added in v0.2.1

type SupervysorConfig struct {
	ABCIEndpoint        string
	BinaryPath          string
	ChainId             string
	HeightDifferenceMax int
	HeightDifferenceMin int
	HomePath            string
	Interval            int
	Metrics             bool
	MetricsPort         int
	PoolEndpoints       string
	PoolId              int
	PruningInterval     int
	Seeds               string
	StatePruning        bool
	StateRequests       bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL