From d7180e521bd4c3242c51477b05ded7c279712c76 Mon Sep 17 00:00:00 2001 From: Yilun Date: Thu, 22 Apr 2021 21:56:20 -0700 Subject: [PATCH] Update transition height and net version Signed-off-by: Yilun --- cmd/nknd/nknd.go | 2 +- config/config.go | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cmd/nknd/nknd.go b/cmd/nknd/nknd.go index 07213ca00..dc941417b 100644 --- a/cmd/nknd/nknd.go +++ b/cmd/nknd/nknd.go @@ -47,7 +47,7 @@ import ( ) const ( - NetVersionNum = 21 // This is temporary and will be removed soon after mainnet is stabilized + NetVersionNum = 22 // This is temporary and will be removed soon after mainnet is stabilized ) var ( diff --git a/config/config.go b/config/config.go index 589dfbb18..3fa1ee156 100644 --- a/config/config.go +++ b/config/config.go @@ -136,7 +136,7 @@ var ( } MaxSubscriptionsCount = 0 // 0 for unlimited MaxGenerateIDTxnHash = HeightDependentUint256{ - heights: []uint32{2560000, 245000, 0}, + heights: []uint32{2570000, 245000, 0}, values: []common.Uint256{ common.MaxUint256, { @@ -166,39 +166,39 @@ var ( values: []int32{14, 0}, } SigChainVerifyFingerTableRange = HeightDependentBool{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []bool{true, false}, } SigChainVerifySkipNode = HeightDependentBool{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []bool{true, false}, } SigChainObjection = HeightDependentBool{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []bool{true, false}, } MinGenIDRegistrationFee = HeightDependentInt64{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []int64{10 * common.StorageFactor, 0}, } AllowGenerateIDSender = HeightDependentBool{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []bool{true, false}, } AllowTxnGenerateIDMinVersion = HeightDependentInt32{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []int32{1, 0}, } AllowTxnGenerateIDMaxVersion = HeightDependentInt32{ - heights: []uint32{2560000, 0}, + heights: []uint32{2570000, 0}, values: []int32{1, 0}, } AllowGetIDMinVersion = HeightDependentInt32{ - heights: []uint32{2600000, 2560000, 0}, + heights: []uint32{2600000, 2570000, 0}, values: []int32{1, 0, 0}, } AllowGetIDMaxVersion = HeightDependentInt32{ - heights: []uint32{2600000, 2560000, 0}, + heights: []uint32{2600000, 2570000, 0}, values: []int32{1, 1, 0}, } )