# Functions
AcceptablePassphrase returns true if the passphrase is acceptable.
AttestationHead returns the head for which the attestation should have voted.
AttestationHeadCorrect returns true if the given attestation had the correct head.
AttestationTarget returns the target for which the attestation should have voted.
AttestationTargetCorrect returns true if the given attestation had the correct target.
BestPublicKey returns the best public key for operations.
BLSID turns a uint64 in to a BLS identifier.
ConnectToBeaconNode connects to a beacon node at the given address.
DepositInfoFromJSON obtains deposit info from various possibly formx of JSON.
GetBaseDir fetches the base directory for wallets.
GetOptionalPassphrase fetches the passphrase if supplied by the user.
GetPassphrase fetches the passphrase supplied by the user.
GetPassphrases fetches the passphrases supplied by the user.
GetStorePassphrase fetches the store passphrase supplied by the user.
GetWalletPassphrase fetches the wallet passphrase supplied by the user.
InitLogging initialises logging.
LockAccount attempts to lock an account.
Network returns the name of the network., calculated from the deposit contract information.
NewBeaconBlockHeaderCache makes a new beacon block header cache.
NewScratchAccount creates a new local account.
ParseAccount parses input to obtain an account.
ParseEpoch parses input to calculate the desired epoch.
ParseSlot parses input to calculate the desired slot.
ParseValidator parses input to obtain the validator.
ParseValidators parses input to obtain the list of validators.
SeedFromMnemonic creates a seed from a mnemonic.
SetupStore sets up the account store.
SignRoot signs the hash tree root of a data structure.
UnlockAccount attempts to unlock an account.
ValidatorIndex obtains the index of a validator.
VerifyRoot verifies the hash tree root of a data structure.
WalletAndAccountFromInput obtains the wallet and account given the information in the viper variable "account".
WalletAndAccountFromPath obtains the wallet and account given a path specification.
WalletAndAccountsFromPath obtains the wallet and matching accounts given a path specification.
WalletFromInput obtains a wallet given the information in the viper variable "account", or if not present the viper variable "wallet".
WalletFromPath obtains a wallet given a path specification.
# Variables
Log is the ethdo global logger.
# Structs
BeaconBlockHeaderCache is a cache of beacon block headers.
No description provided by the author
DepositInfo is a generic deposit structure.
ScratchAccount is an account that exists temporarily.
ValidatorExitData contains data for a validator exit.