node

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Unlicense Imports: 0 Imported by: 0

Documentation

Overview

Package node provides the magic keys that identify each network swarm in the Indra network - mainnet, testnet and simnet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Swarm added in v0.1.19

type Swarm uint32

Swarm is an Indra network. Encodes a network identifier for mainnet, testnet and simnet.

const (
	// MainNet represents the main indra network.
	MainNet Swarm = 0xd9b4bef9

	// TestNet represents the regression test network.
	TestNet Swarm = 0xdab5bffa

	// SimNet represents the simulation test network.
	SimNet Swarm = 0x12141c16
)

Jump to

Keyboard shortcuts

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