cmd

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 47 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

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

AssembleNodeMachineAccountInfo exported wrapper for use in other projects

func Execute

func Execute()

func GenerateRandomSeed

func GenerateRandomSeed(seedLen int) []byte

func GenerateRandomSeeds

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

Types

type PartnerWeights

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