mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-26 21:07:26 +08:00
25 lines
499 B
Go
25 lines
499 B
Go
package utils
|
|
|
|
type ClientConfig struct {
|
|
DataDir string `yaml:"dataDir"`
|
|
SymlinkPath string `yaml:"symlinkPath"`
|
|
SignatureCheck bool `yaml:"signatureCheck"`
|
|
}
|
|
|
|
type NodeConfig struct {
|
|
ClientConfig
|
|
RewardsAddress string `yaml:"rewardsAddress"`
|
|
AutoUpdateInterval string `yaml:"autoUpdateInterval"`
|
|
}
|
|
|
|
const (
|
|
DefaultAutoUpdateInterval = "*/10 * * * *"
|
|
)
|
|
|
|
type ReleaseType string
|
|
|
|
const (
|
|
ReleaseTypeQClient ReleaseType = "qclient"
|
|
ReleaseTypeNode ReleaseType = "node"
|
|
)
|