application

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: BSD-3-Clause Imports: 8 Imported by: 10

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

View Source
const (
	WriteReadReadPerms = 0o644
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Avalanche

type Avalanche struct {
	Log logging.Logger
	// contains filtered or unexported fields
}

func New

func New() *Avalanche

func (*Avalanche) ChainIDExists

func (app *Avalanche) ChainIDExists(chainID string) (bool, error)

func (*Avalanche) CopyGenesisFile

func (app *Avalanche) CopyGenesisFile(inputFilename string, subnetName string) error

func (*Avalanche) CreateSidecar

func (app *Avalanche) CreateSidecar(sc *models.Sidecar) error

func (*Avalanche) GenesisExists

func (app *Avalanche) GenesisExists(subnetName string) bool

func (*Avalanche) GetBaseDir

func (app *Avalanche) GetBaseDir() string

func (*Avalanche) GetGenesisPath

func (app *Avalanche) GetGenesisPath(subnetName string) string

func (*Avalanche) GetRunDir

func (app *Avalanche) GetRunDir() string

func (*Avalanche) GetRunFile

func (app *Avalanche) GetRunFile() string

func (*Avalanche) GetSidecarPath

func (app *Avalanche) GetSidecarPath(subnetName string) string

func (*Avalanche) GetSnapshotsDir

func (app *Avalanche) GetSnapshotsDir() string

func (*Avalanche) GetTokenName

func (app *Avalanche) GetTokenName(subnetName string) string

func (*Avalanche) LoadEvmGenesis

func (app *Avalanche) LoadEvmGenesis(subnetName string) (core.Genesis, error)

func (*Avalanche) LoadSidecar

func (app *Avalanche) LoadSidecar(subnetName string) (models.Sidecar, error)

func (*Avalanche) Setup

func (app *Avalanche) Setup(baseDir string, log logging.Logger)

func (*Avalanche) WriteGenesisFile

func (app *Avalanche) WriteGenesisFile(subnetName string, genesisBytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL