v05

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 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 {
	Sessions Sessions `json:"_"`
	Params   Params   `json:"params"`
}

type Params

type Params struct {
	InactiveDuration         time.Duration `json:"inactive_duration"`
	ProofVerificationEnabled bool          `json:"proof_verification_enabled"`
}

type Session

type Session struct {
	ID           uint64                   `json:"id"`
	Subscription uint64                   `json:"subscription"`
	Node         hubtypes.NodeAddress     `json:"node"`
	Address      sdk.AccAddress           `json:"address"`
	Duration     time.Duration            `json:"duration"`
	Bandwidth    legacyhubtypes.Bandwidth `json:"bandwidth"`
	Status       legacyhubtypes.Status    `json:"status"`
	StatusAt     time.Time                `json:"status_at"`
}

type Sessions

type Sessions []Session

Jump to

Keyboard shortcuts

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