v05

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisState

type GenesisState struct {
	Nodes  Nodes  `json:"_"`
	Params Params `json:"params"`
}

type Node

type Node struct {
	Address   hubtypes.NodeAddress  `json:"address"`
	Provider  hubtypes.ProvAddress  `json:"provider"`
	Price     sdk.Coins             `json:"price"`
	RemoteURL string                `json:"remote_url"`
	Status    legacyhubtypes.Status `json:"status"`
	StatusAt  time.Time             `json:"status_at"`
}

type Nodes

type Nodes []Node

type Params

type Params struct {
	Deposit          sdk.Coin      `json:"deposit"`
	InactiveDuration time.Duration `json:"inactive_duration"`
}

Jump to

Keyboard shortcuts

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