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:
Roman Khimov 2020-06-14 10:09:05 +03:00
parent 5f276de003
commit 6eb600de5a
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
ProtocolConfiguration:
Magic: 56753
Magic: 0
SecondsPerBlock: 15
LowPriorityThreshold: 0.000
MemPoolSize: 50000

View file

@ -6,9 +6,9 @@ import (
const (
// 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 NetMode = 0x74746e41 // 1953787457
ModeTestNet NetMode = 0x744f454e // 1951352142
// ModePrivNet contains magic code usually used for NEO private networks.
ModePrivNet NetMode = 56753 // docker privnet
// ModeUnitTestNet is a stub magic code used for testing purposes.