package
0.16.2
Repository: https://github.com/qaseleniumtesting01/godep1.git
Documentation: pkg.go.dev

# Functions

LesTopic returns discovery v5 topic derived from genesis of the provided network.
NewConfigFromJSON parses incoming JSON and returned it as Config.
NewLimits creates new Limits config with given min and max values.
NewNodeConfig creates new node configuration object with bare-minimum defaults.
NewNodeConfigWithDefaults creates new node configuration object with some defaults suitable for adhoc use.
NewNodeConfigWithDefaultsAndFiles creates new node configuration object with some defaults suitable for adhoc use and applies config files on top.
NewValidator returns a new validator.Validate.
WithFleet loads one of the preconfigured Status fleets.
WithLES enabled LES protocol.
WithMailserver enables MailServer.

# Constants

AccountsMethodName defines the name for listing the currently signed accounts.
DefaultGas default amount of gas used for transactions.
Define available fleets.
Define available fleets.
Define available fleets.
LESDiscoveryIdentifier is a prefix for topic used for LES peers discovery.
MailServerDiscv5Topic used to register and search for mail server peers using discovery v5.
MainnetEthereumNetworkURL is URL where the upstream ethereum network is loaded to allow us avoid syncing node.
MainNetworkID is id of the main network.
PersonalRecoverMethodName defines the name for `personal.recover` API.
PersonalSignMethodName defines the name for `personal.sign` API.
RinkebyEthereumNetworkURL is URL where the upstream ethereum network is loaded to allow us avoid syncing node.
RinkebyNetworkID is id of a test network (on PoA).
RopstenEthereumNetworkURL is URL where the upstream ethereum network is loaded to allow us avoid syncing node.
RopstenNetworkID is id of a test network (on PoW).
SendTransactionMethodName defines the name for a giving transaction.
StatusChainNetworkID is id of a test network (private chain).
StatusDatabase path relative to DataDir.
WhisperDiscv5Topic used to register and search for whisper peers using discovery v5.
WhisperMinimumPoW amount of work for Whisper message to be added to sending queue.
WhisperTTL is time to live for messages, in seconds.

# Variables

LesDiscoveryLimits default limits used if LES and discovery are enabled.
Version relies on a git tag and is passed by linker's '-ldflags' flag.
WhisperDiscv5Limits declares min and max limits for peers with whisper topic.

# Structs

Cluster defines a list of Ethereum nodes.
ClusterConfig holds configuration for supporting cluster peers, which is a temporary means for mobile devices to get connected to Ethereum network (UDP-based discovery may not be available, so we need means to discover the network manually).
LightEthConfig holds LES-related configuration Status nodes are always lightweight clients (due to mobile platform constraints).
Limits represent min and max amount of peers.
NodeConfig stores configuration options for a node.
SwarmConfig holds Swarm-related configuration.
UpstreamRPCConfig stores configuration for upstream rpc connection.
WhisperConfig holds SHH-related configuration.

# Type aliases

Option is an additional setting when creating a NodeConfig using NewNodeConfigWithDefaults.