Documentation ¶
Overview ¶
Package netmode contains well-known network magic numbers.
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 = 0x334f454e // NEO3 // TestNet contains magic code used in the Neo testing network. TestNet Magic = 0x3554334e // N3T5 // 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 )
Click to show internal directories.
Click to hide internal directories.