flags

package
v0.0.0-...-f7539b2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DisableP2PName         = "p2p.disable"
	NoDiscoveryName        = "p2p.no-discovery"
	ScoringName            = "p2p.scoring"
	PeerScoringName        = "p2p.scoring.peers"
	PeerScoreBandsName     = "p2p.score.bands"
	BanningName            = "p2p.ban.peers"
	BanningThresholdName   = "p2p.ban.threshold"
	BanningDurationName    = "p2p.ban.duration"
	TopicScoringName       = "p2p.scoring.topics"
	P2PPrivPathName        = "p2p.priv.path"
	P2PPrivRawName         = "p2p.priv.raw"
	ListenIPName           = "p2p.listen.ip"
	ListenTCPPortName      = "p2p.listen.tcp"
	ListenUDPPortName      = "p2p.listen.udp"
	AdvertiseIPName        = "p2p.advertise.ip"
	AdvertiseTCPPortName   = "p2p.advertise.tcp"
	AdvertiseUDPPortName   = "p2p.advertise.udp"
	BootnodesName          = "p2p.bootnodes"
	StaticPeersName        = "p2p.static"
	NetRestrictName        = "p2p.netrestrict"
	HostMuxName            = "p2p.mux"
	HostSecurityName       = "p2p.security"
	PeersLoName            = "p2p.peers.lo"
	PeersHiName            = "p2p.peers.hi"
	PeersGraceName         = "p2p.peers.grace"
	NATName                = "p2p.nat"
	UserAgentName          = "p2p.useragent"
	TimeoutNegotiationName = "p2p.timeout.negotiation"
	TimeoutAcceptName      = "p2p.timeout.accept"
	TimeoutDialName        = "p2p.timeout.dial"
	PeerstorePathName      = "p2p.peerstore.path"
	DiscoveryPathName      = "p2p.discovery.path"
	SequencerP2PKeyName    = "p2p.sequencer.key"
	GossipMeshDName        = "p2p.gossip.mesh.d"
	GossipMeshDloName      = "p2p.gossip.mesh.lo"
	GossipMeshDhiName      = "p2p.gossip.mesh.dhi"
	GossipMeshDlazyName    = "p2p.gossip.mesh.dlazy"
	GossipFloodPublishName = "p2p.gossip.mesh.floodpublish"
	SyncReqRespName        = "p2p.sync.req-resp"
	P2PPingName            = "p2p.ping"
)
View Source
var Flags = []cli.Flag{
	opflags.CLINetworkFlag(envVarPrefix, ""),
	opflags.CLIRollupConfigFlag(envVarPrefix, ""),
}

Functions

func P2PFlags

func P2PFlags(envPrefix string) []cli.Flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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