mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
config: sync network magic numbers
unit_testnet YAML was out of sync with Go code and Go code was out of sync
with YAML for mainnet and testnet after 308243f36e
.
This commit is contained in:
parent
5f276de003
commit
6eb600de5a
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
ProtocolConfiguration:
|
ProtocolConfiguration:
|
||||||
Magic: 56753
|
Magic: 0
|
||||||
SecondsPerBlock: 15
|
SecondsPerBlock: 15
|
||||||
LowPriorityThreshold: 0.000
|
LowPriorityThreshold: 0.000
|
||||||
MemPoolSize: 50000
|
MemPoolSize: 50000
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// ModeMainNet contains magic code used in the NEO main official network.
|
// ModeMainNet contains magic code used in the NEO main official network.
|
||||||
ModeMainNet NetMode = 0x00746e41 // 7630401
|
ModeMainNet NetMode = 0x004f454e // 5195086
|
||||||
// ModeTestNet contains magic code used in the NEO testing network.
|
// ModeTestNet contains magic code used in the NEO testing network.
|
||||||
ModeTestNet NetMode = 0x74746e41 // 1953787457
|
ModeTestNet NetMode = 0x744f454e // 1951352142
|
||||||
// ModePrivNet contains magic code usually used for NEO private networks.
|
// ModePrivNet contains magic code usually used for NEO private networks.
|
||||||
ModePrivNet NetMode = 56753 // docker privnet
|
ModePrivNet NetMode = 56753 // docker privnet
|
||||||
// ModeUnitTestNet is a stub magic code used for testing purposes.
|
// ModeUnitTestNet is a stub magic code used for testing purposes.
|
||||||
|
|
Loading…
Reference in a new issue