simple_node_set

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const (
	DefaultHTTPPortStaticRangeStart = 10000
	DefaultP2PStaticRangeStart      = 12000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Nodes              int             `toml:"nodes" validate:"required"`
	HTTPPortRangeStart int             `toml:"http_port_range_start"`
	P2PPortRangeStart  int             `toml:"p2p_port_range_start"`
	OverrideMode       string          `toml:"override_mode" validate:"required,oneof=all each"`
	NodeSpecs          []*clnode.Input `toml:"node_specs"`
	Out                *Output         `toml:"out"`
}

type Output

type Output struct {
	UseCache bool             `toml:"use_cache"`
	CLNodes  []*clnode.Output `toml:"cl_nodes"`
}

func NewSharedDBNodeSet

func NewSharedDBNodeSet(in *Input, bcOut *blockchain.Output, fakeUrl string) (*Output, error)

Jump to

Keyboard shortcuts

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