From 450ca61a4e395844eabc8b7bbeca57f28198a267 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 3 May 2022 23:22:48 +0300 Subject: [PATCH 1/2] config: tune max block sysfee/size and number of tx See neo-project/neo-modules#688, neo-project/neo-node#850 and neo-project/neo-modules#703. --- config/protocol.testnet.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/protocol.testnet.yml b/config/protocol.testnet.yml index a57cda008..470150430 100644 --- a/config/protocol.testnet.yml +++ b/config/protocol.testnet.yml @@ -1,6 +1,9 @@ ProtocolConfiguration: Magic: 877933390 + MaxBlockSize: 2097152 + MaxBlockSystemFee: 150000000000 MaxTraceableBlocks: 2102400 + MaxTransactionsPerBlock: 5000 InitialGASSupply: 52000000 SecondsPerBlock: 15 MemPoolSize: 50000 From 3c0ee9c3a347931577c421c42485cef42e49d9e2 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 3 May 2022 23:27:06 +0300 Subject: [PATCH 2/2] config: switch to T5 testnet See neo-project/neo-node#852, neo-project/neo-node#859. --- config/protocol.testnet.yml | 12 ++++++------ pkg/config/netmode/netmode.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/protocol.testnet.yml b/config/protocol.testnet.yml index 470150430..b061181f2 100644 --- a/config/protocol.testnet.yml +++ b/config/protocol.testnet.yml @@ -1,5 +1,5 @@ ProtocolConfiguration: - Magic: 877933390 + Magic: 894710606 MaxBlockSize: 2097152 MaxBlockSystemFee: 150000000000 MaxTraceableBlocks: 2102400 @@ -31,11 +31,11 @@ ProtocolConfiguration: - 03184b018d6b2bc093e535519732b3fd3f7551c8cffaf4621dd5a0b89482ca66c9 ValidatorsCount: 7 SeedList: - - seed1t4.neo.org:20333 - - seed2t4.neo.org:20333 - - seed3t4.neo.org:20333 - - seed4t4.neo.org:20333 - - seed5t4.neo.org:20333 + - seed1t5.neo.org:20333 + - seed2t5.neo.org:20333 + - seed3t5.neo.org:20333 + - seed4t5.neo.org:20333 + - seed5t5.neo.org:20333 VerifyBlocks: true VerifyTransactions: false P2PSigExtensions: false diff --git a/pkg/config/netmode/netmode.go b/pkg/config/netmode/netmode.go index e60e8f5a3..1257f3eab 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 = 0x334f454e // NEO3 // TestNet contains magic code used in the NEO testing network. - TestNet Magic = 0x3454334e // N3T4 + 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.