Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Magic

type Magic uint32

    Magic describes the network the blockchain will operate on.

    const (
    	// MainNet contains magic code used in the NEO main official network.
    	MainNet Magic = 0x004f454e // 5195086
    	// TestNet contains magic code used in the NEO testing network.
    	TestNet Magic = 0x3550334E // 894448462
    	// PrivNet contains magic code usually used for NEO private networks.
    	PrivNet Magic = 56753 // docker privnet
    	// UnitTestNet is a stub magic code used for testing purposes.
    	UnitTestNet Magic = 42
    )

    func (Magic) String

    func (n Magic) String() string

      String implements the stringer interface.

      Source Files