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.
Click to show internal directories.
Click to hide internal directories.