Help us shape the future of Go! Take the 2026 Go Developer Survey

clirewards

package
v1.3.104 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

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.

func (QualifyingVisors) Human

func (q QualifyingVisors) Human(w io.Writer) error

Human writes either the bare key list or the completion line, matching what the command printed for each mode.

Jump to

Keyboard shortcuts

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