Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultNetwork = DevNet
DefaultNetwork sets a default network for Celestia Node.
View Source
var ErrInvalidNetwork = errors.New("build: invalid network")
ErrInvalidNetwork is thrown when unknown network is used.
Functions ¶
func Bootstrappers ¶
func Bootstrappers() []string
Bootstrappers reports multiaddresses of bootstrap peers for the node's current network.
func BootstrappersFor ¶
BootstrappersFor reports multiaddresses of bootstrap peers for a given network.
func Genesis ¶
func Genesis() string
Genesis reports a hash of a genesis block for the current network.
func GenesisFor ¶
GenesisFor reports a hash of a genesis block for a given network.
Types ¶
Click to show internal directories.
Click to hide internal directories.