build

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const HighestChain = Dev

Variables

This section is empty.

Functions

func ChainSupported

func ChainSupported(chainID int64) bool

ChainSupported returns whether the node can connect to the chain with the given ID

Types

type SupportedChains

type SupportedChains int

SupportedChains is an enum that indicates the chains supported by the node All chains represented by an enum value less than or equal than this value are supported All chains represented by an enum value greater than this value are not supported

const (
	// Dev is a development chain
	Dev SupportedChains = iota
	// Rinkeby is the Ethereum Rinkeby test network chain
	Rinkeby
	// Mainnet is the Ethereum main network chain
	Mainnet
)

Jump to

Keyboard shortcuts

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