cmd

package
v0.27.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: AGPL-3.0 Imports: 48 Imported by: 2

Documentation

Overview

contains CLI logic that can exit the program and read/write files. It also uses structures and data types that are purely relevant for CLI purposes, such as encoding, decoding etc...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleNodeMachineAccountInfo added in v0.20.0

func AssembleNodeMachineAccountInfo(machineKey crypto.PrivateKey, accountAddress string) model.NodeMachineAccountInfo

AssembleNodeMachineAccountInfo exported wrapper for use in other projects

func Execute

func Execute()

func GenerateRandomSeed added in v0.20.0

func GenerateRandomSeed(seedLen int) []byte

func GenerateRandomSeeds added in v0.20.0

func GenerateRandomSeeds(n int, seedLen int) [][]byte

Types

type PartnerWeights added in v0.25.0

type PartnerWeights map[flow.Identifier]uint64

PartnerWeights is the format of the JSON file specifying partner node weights.

Jump to

Keyboard shortcuts

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