From b2944bcf8ae9a9e65017d73872095c92a661b21b Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 24 Mar 2021 10:51:25 +0300 Subject: [PATCH] config: adjust default testnet magic for RC1 testnet It's 827601742, N3T1, see https://github.com/neo-project/neo-node/releases/tag/v3.0.0-rc1 --- config/protocol.testnet.yml | 2 +- pkg/config/netmode/netmode.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/protocol.testnet.yml b/config/protocol.testnet.yml index bbe525884..98049425e 100644 --- a/config/protocol.testnet.yml +++ b/config/protocol.testnet.yml @@ -1,5 +1,5 @@ ProtocolConfiguration: - Magic: 1951352142 + Magic: 827601742 MaxTraceableBlocks: 2102400 SecondsPerBlock: 15 MemPoolSize: 50000 diff --git a/pkg/config/netmode/netmode.go b/pkg/config/netmode/netmode.go index 5b77244a4..9972530a7 100644 --- a/pkg/config/netmode/netmode.go +++ b/pkg/config/netmode/netmode.go @@ -6,7 +6,7 @@ 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 = 0x744f454e // 1951352142 + TestNet Magic = 0x3154334e // 827601742 // 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.