Documentation ¶
Overview ¶
Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Constants
- type Avalanche
- func (app *Avalanche) ChainIDExists(chainID string) (bool, error)
- func (app *Avalanche) CopyGenesisFile(inputFilename string, subnetName string) error
- func (app *Avalanche) CreateSidecar(sc *models.Sidecar) error
- func (app *Avalanche) GenesisExists(subnetName string) bool
- func (app *Avalanche) GetBaseDir() string
- func (app *Avalanche) GetGenesisPath(subnetName string) string
- func (app *Avalanche) GetRunDir() string
- func (app *Avalanche) GetRunFile() string
- func (app *Avalanche) GetSidecarPath(subnetName string) string
- func (app *Avalanche) GetSnapshotsDir() string
- func (app *Avalanche) GetTokenName(subnetName string) string
- func (app *Avalanche) LoadEvmGenesis(subnetName string) (core.Genesis, error)
- func (app *Avalanche) LoadSidecar(subnetName string) (models.Sidecar, error)
- func (app *Avalanche) Setup(baseDir string, log logging.Logger)
- func (app *Avalanche) WriteGenesisFile(subnetName string, genesisBytes []byte) error
Constants ¶
View Source
const (
WriteReadReadPerms = 0o644
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Avalanche ¶
func (*Avalanche) CopyGenesisFile ¶
func (*Avalanche) GenesisExists ¶
func (*Avalanche) GetBaseDir ¶
func (*Avalanche) GetGenesisPath ¶
func (*Avalanche) GetRunFile ¶
func (*Avalanche) GetSidecarPath ¶
func (*Avalanche) GetSnapshotsDir ¶
func (*Avalanche) GetTokenName ¶
func (*Avalanche) LoadEvmGenesis ¶
func (*Avalanche) LoadSidecar ¶
Click to show internal directories.
Click to hide internal directories.