forked from TrueCloudLab/neoneo-go
netmode: use proper testnet magic number
Preview5 network used 'N3P5' as its magic, but the official testnet magic is still 'NEOt', that's the way it's defined in neo-node, so use that.
This commit is contained in:
parent
53ab72cec0
commit
c1b2a79cfe
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
ProtocolConfiguration:
|
ProtocolConfiguration:
|
||||||
Magic: 894448462
|
Magic: 1951352142
|
||||||
MaxTraceableBlocks: 2102400
|
MaxTraceableBlocks: 2102400
|
||||||
SecondsPerBlock: 15
|
SecondsPerBlock: 15
|
||||||
MemPoolSize: 50000
|
MemPoolSize: 50000
|
||||||
|
|
|
@ -6,7 +6,7 @@ const (
|
||||||
// MainNet contains magic code used in the NEO main official network.
|
// MainNet contains magic code used in the NEO main official network.
|
||||||
MainNet Magic = 0x004f454e // 5195086
|
MainNet Magic = 0x004f454e // 5195086
|
||||||
// TestNet contains magic code used in the NEO testing network.
|
// TestNet contains magic code used in the NEO testing network.
|
||||||
TestNet Magic = 0x3550334E // 894448462
|
TestNet Magic = 0x744f454e // 1951352142
|
||||||
// PrivNet contains magic code usually used for NEO private networks.
|
// PrivNet contains magic code usually used for NEO private networks.
|
||||||
PrivNet Magic = 56753 // docker privnet
|
PrivNet Magic = 56753 // docker privnet
|
||||||
// UnitTestNet is a stub magic code used for testing purposes.
|
// UnitTestNet is a stub magic code used for testing purposes.
|
||||||
|
|
Loading…
Reference in a new issue