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 ¶
- func AssembleNodeMachineAccountInfo(machineKey crypto.PrivateKey, accountAddress string) model.NodeMachineAccountInfo
- func Execute()
- func GenerateRandomSeed(seedLen int) []byte
- func GenerateRandomSeeds(n int, seedLen int) [][]byte
- type IntermediaryBootstrappingData
- type IntermediaryEpochData
- type IntermediaryParamsData
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 GenerateRandomSeed ¶ added in v0.20.0
func GenerateRandomSeeds ¶ added in v0.20.0
Types ¶
type IntermediaryBootstrappingData ¶ added in v0.33.30
type IntermediaryBootstrappingData struct { IntermediaryParamsData IntermediaryEpochData }
IntermediaryBootstrappingData stores data which needs to be passed between the 2 steps of the bootstrapping process: `rootblock` and `finalize`. This structure is created in `rootblock`, written to disk, then read in `finalize`.
type IntermediaryEpochData ¶ added in v0.33.30
type IntermediaryEpochData struct { // TODO remove redundant inclusion of the fields (currently storing them in cadence as well as in protocol-state representation). ExecutionStateConfig epochs.EpochConfig RootEpochSetup *flow.EpochSetup RootEpochCommit *flow.EpochCommit }
IntermediaryEpochData stores the root epoch and the epoch config for the execution state and to bootstrap the Protocol State. This is used to pass data between the rootblock command and the finalize command.
type IntermediaryParamsData ¶ added in v0.33.30
IntermediaryParamsData stores the subset of protocol.GlobalParams which can be independently configured by the network operator (i.e. which is not dependent on other bootstrapping artifacts, like the root block). This is used to pass data between the rootblock command and the finalize command.
Source Files ¶
- access_keygen.go
- block.go
- check_machine_account.go
- constraints.go
- db_encryption_key.go
- dkg.go
- doc.go
- final_list.go
- finalize.go
- genconfig.go
- intermediary.go
- key.go
- keygen.go
- keys.go
- machine_account.go
- machine_account_key.go
- name.go
- observer_network_key.go
- partner_infos.go
- pull.go
- qc.go
- root.go
- rootblock.go
- seal.go
- util.go