nonodo

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

This package contains the nonodo run function. This is separate from the main package to facilitate testing.

Index

Constants

View Source
const (
	DefaultHttpPort    = 8080
	DefaultRollupsPort = 5004
	DefaultNamespace   = 10008
)

Variables

This section is empty.

Functions

func NewSupervisor

func NewSupervisor(opts NonodoOpts) supervisor.SupervisorWorker

Create the nonodo supervisor.

func NewSupervisorHLGraphQL added in v1.3.0

func NewSupervisorHLGraphQL(opts NonodoOpts) supervisor.SupervisorWorker

Types

type NonodoOpts

type NonodoOpts struct {
	AnvilAddress       string
	AnvilPort          int
	AnvilVerbose       bool
	HttpAddress        string
	HttpPort           int
	HttpRollupsPort    int
	InputBoxAddress    string
	InputBoxBlock      uint64
	ApplicationAddress string
	// If RpcUrl is set, connect to it instead of anvil.
	RpcUrl      string
	EspressoUrl string
	// If set, start echo dapp.
	EnableEcho bool
	// If set, disables devnet.
	DisableDevnet bool
	// If set, disables advances.
	DisableAdvance bool
	// If set, start application.
	ApplicationArgs     []string
	HLGraphQL           bool
	SqliteFile          string
	FromBlock           uint64
	DbImplementation    string
	NodeVersion         string
	LoadTestMode        bool
	Sequencer           string
	Namespace           uint64
	TimeoutInspect      time.Duration
	TimeoutAdvance      time.Duration
	TimeoutWorker       time.Duration
	GraphileUrl         string
	GraphileDisableSync bool
	Salsa               bool
	SalsaUrl            string
	InputPayload        string
}

Options to nonodo.

func NewNonodoOpts

func NewNonodoOpts() NonodoOpts

Create the options struct with default values.

Jump to

Keyboard shortcuts

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