# Functions
AddGenesisAccounts runs gaiad add-genesis-account with the created addresses and default initial balances.
CollectGenesisTxs is run on every node's config directory from the single directory where the genesis transactions were placed before.
ConfigurePayload is a wrapper function that runs all the needed steps to generate a payload's configuration and fills out the evt object with said information.
CreateEvent creates the event home and the event descriptor.
DeployPayload tells the provisioned machines to run the configured docker image.
DestroyEvent destroy an existing event.
DownloadPayloadBinary downloads a copy of the payload binaries to the host running lctrld to generate the config files for the provisioned machines.
EditConfigs edits the config.toml of every node to have the same persistent_peers.
GenerateFaucetConfig generates a configuration for the faucet given what it knows about the event.
GenerateKeys generates keys for each genesis account (this includes validator accounts).
GenesisTxs runs gentx to turn accounts into validator accounts and outputs the genesis transactions into a single folder.
GetEventByID retrieve an event by name.
InitDaemon runs gaiad init burnerchain --home state.DaemonConfigDir and gaiad tendermint show-node-id.
InspectEvent inspect status of the infrastructure for an event.
InstallDockerMachine setup docker machine environment.
ListEvents list available events.
LoadEvent returns the Event model of the specified event ID.
NewDockerMachine ensures that all fields of a DockerMachineConfig are filled out.
ProvisionEvent provision the infrastructure for the event.
RereadDockerMachineInfo is useful when docker-machine failed during 'create', and a human fixed the problem, and wants to continue.
SetupWorkspace setup the workspace for the service.
StoreEvent saves the Event model to a file.
# Constants
DockerHome pretends that /tmp/workspace/evts/<EVTDIR> is the $HOME, so under that would be .docker.
# Structs
DockerMachine implements docker-machine functionality for lctrld.
DockerMachineConfigFormat is the structure of .docker/machine/machines/<MACHINE NAME>/config.json, which describes a deployed VM's configuration.