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