Documentation
¶
Overview ¶
Package clirewards is the output shape of the `skywire cli rewards` commands, which collect the data the reward system is computed from.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QualifyingVisors ¶
type QualifyingVisors struct {
MinTransports int `json:"min_transports"`
PubKeys []string `json:"public_keys"`
// Added and Path describe the history file update. Absent when the
// command was only asked to list (--all), which writes nothing.
Added int `json:"added,omitempty"`
Path string `json:"path,omitempty"`
}
QualifyingVisors lists the public keys that met the transport threshold, and — unless only listing — what was written to the history file.
Click to show internal directories.
Click to hide internal directories.