# Functions
ConstructClusterAssignment generates a partially randomized collector cluster assignment with internal and partner nodes.
ConvertClusterAssignmentsCdc converts golang cluster assignments type to Cadence type `[[String]]`.
ConvertClusterQcsCdc converts cluster QCs from `QuorumCertificate` type to `ClusterQCVoteData` type.
No description provided by the author
GetNodeInfoForProposedNodesScript returns a script that will return an array of FlowIDTableStaking.NodeInfo for each node in the proposed table.
GetSnapshot will attempt to get the latest finalized protocol snapshot with the given flow configs.
GetSnapshotAtEpochAndPhase will get the latest finalized protocol snapshot and check the current epoch and epoch phase.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathExists.
PrettyPrint an interface.
PrettyPrintEntity pretty print a flow entity.
No description provided by the author
ReadFullInternalNodeInfos reads internal node info and internal node weight information from the specified paths and constructs a list of full bootstrap.NodeInfo for each internal node.
ReadFullPartnerNodeInfos reads partner node info and partner weight information from the specified paths and constructs a list of full bootstrap.NodeInfo for each partner node.
ReadInternalNodeInfos reads our internal node private infos generated by `keygen` command and returns it.
No description provided by the author
ReadPartnerNodeInfos reads the partner node info from the configuration file and returns a list of []bootstrap.NodeInfoPub.
ReadPartnerWeights reads the partner weights configuration file and returns a list of PartnerWeights.
ValidateAccessNodeIDSFlag validates flag --access-node-ids and converts all ids to flow.Identifier.
ValidateAddressFormat validates the address provided by pretty much doing what the network layer would do before starting the node.
ValidateNetworkPubKey returns an error if network public key is nil.
ValidateNodeID returns an error if node ID is non-zero.
ValidateStakingPubKey returns an error if the staking key is nil.
ValidateWeight returns true if weight is greater than 0.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Type aliases
GetProtocolSnapshot callback that will get latest finalized protocol snapshot.
PartnerWeights is the format of the JSON file specifying partner node weights.