nonodo

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 20 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
View Source
const DefaultRollupsPort = 5004
View Source
const HttpTimeout = 10 * time.Second

Variables

This section is empty.

Functions

func NewSupervisor

func NewSupervisor(opts NonodoOpts) supervisor.SupervisorWorker

Create the nonodo supervisor.

func NewSupervisorPoC

func NewSupervisorPoC(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

	// 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

	ConveniencePoC   bool
	SqliteFile       string
	FromBlock        uint64
	DbImplementation string

	// If set, enables legacy mode.
	LegacyMode bool
}

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