Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SentinelDiscoveryPort = cli.IntFlag{ Name: "discovery.port", Usage: "sets the lightclient port", Value: 4000, } SentinelDiscoveryAddr = cli.StringFlag{ Name: "discovery.addr", Usage: "sets the lightclient discovery addr", Value: "127.0.0.1", } SentinelTcpPort = cli.UintFlag{ Name: "sentinel.tcp.port", Usage: "sets lightclient tcp port", Value: 4001, } SentinelServerPort = cli.IntFlag{ Name: "sentinel.port", Usage: "sets the lightclient server port", Value: 7777, } SentinelServerAddr = cli.StringFlag{ Name: "sentinel.addr", Usage: "sets the lightclient server host addr", Value: "localhost", } NoDiscovery = cli.BoolFlag{ Name: "no-discovery", Usage: "turn off or on the lightclient finding peers", Value: false, } LocalDiscovery = cli.BoolFlag{ Name: "local-discovery", Usage: "enable to also attempt to find peers over private ips. turning this on may cause issues with hosts such as hetzner", Value: false, } BootnodesFlag = cli.StringFlag{ Name: "sentinel.bootnodes", Usage: "Comma separated enode URLs for P2P discovery bootstrap", Value: "", } SentinelStaticPeersFlag = cli.StringFlag{ Name: "sentinel.staticpeers", Usage: "connect to comma-separated Consensus static peers", Value: "", } )
View Source
var CliFlags = []cli.Flag{ &utils.ChainFlag, &SentinelDiscoveryPort, &SentinelDiscoveryAddr, &SentinelServerPort, &SentinelServerAddr, &SentinelTcpPort, &NoDiscovery, &BootnodesFlag, &SentinelStaticPeersFlag, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.