package
0.38.0-preview.0
Repository: https://github.com/onflow/flow-go.git
Documentation: pkg.go.dev

# Functions

CheckMachineAccountInfo checks a node machine account config, logging anything noteworthy but not critical, and returning an error if the machine account is not configured correctly, or the configuration cannot be checked.
DefaultEpochConfig returns an EpochConfig with default values used for testing.
No description provided by the author
EncodeClusterAssignments encodes a slice of QuorumCertificates into an encoded transaction argument for the deployEpoch transaction used during execution state bootstrapping.
No description provided by the author
NewBaseClient creates a instance of BaseClient.
No description provided by the author
NewEpochLookup instantiates a new EpochLookup.
No description provided by the author
No description provided by the author
NewQCContractClient returns a new client to the Quorum Certificate contract.
NewRootQCVoter returns a new root QC voter, configured for a particular epoch.
WithoutBalanceChecks sets minimum balances to 0 to effectively disable minimum balance checks.

# Constants

TransactionStatusRetryTimeout is the time after which the status of a transaction is checked again.
TransactionSubmissionTimeout is the time after which we return an error.

# Structs

BaseClient represents the core fields and methods needed to create a client to a contract on the Flow Network.
ClusterQCNoVoteError is returned when a ClusterRootQCVoter fails to submit a vote for reasons we consider benign, either: - we have reached a retry limit for transient failures - we have decided to not submit the vote, for example because we are not in the EpochSetup phase.
EpochConfig is a placeholder for config values used to deploy the epochs smart-contract.
EpochLookup implements the EpochLookup interface using protocol state to match views to epochs.
MachineAccountConfigValidator is used to validate that a machine account is configured correctly.
MachineAccountValidatorConfig defines configuration options for MachineAccountConfigValidator.
No description provided by the author
QCContractClient is a client to the Quorum Certificate contract.
RootQCVoter is responsible for generating and submitting votes for the root quorum certificate of the upcoming epoch for this node's cluster.

# Type aliases

No description provided by the author