From 7a724e7243a204c34d256e124d5782ffc08cb315 Mon Sep 17 00:00:00 2001 From: Yilun Date: Tue, 11 May 2021 04:17:03 -0700 Subject: [PATCH] Adjust sighash left shift effective height and increase net version Signed-off-by: Yilun --- cmd/nknd/nknd.go | 2 +- config/config.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/nknd/nknd.go b/cmd/nknd/nknd.go index 313e2986d..00934c910 100644 --- a/cmd/nknd/nknd.go +++ b/cmd/nknd/nknd.go @@ -47,7 +47,7 @@ import ( ) const ( - NetVersionNum = 23 // This is temporary and will be removed soon after mainnet is stabilized + NetVersionNum = 24 // This is temporary and will be removed soon after mainnet is stabilized ) var ( diff --git a/config/config.go b/config/config.go index b76e445bb..78d23d9d9 100644 --- a/config/config.go +++ b/config/config.go @@ -163,7 +163,7 @@ var ( values: []bool{false, true}, } SigChainBitShiftMaxLength = HeightDependentInt32{ - heights: []uint32{2630000, 2543000, 0}, + heights: []uint32{2633000, 2543000, 0}, values: []int32{16, 14, 0}, } SigChainVerifyFingerTableRange = HeightDependentBool{ @@ -205,13 +205,13 @@ var ( SigChainBitShiftPerElement = 4 SigChainRecentMinerBlocks = 4096 SigChainRecentMinerBitShift = HeightDependentInt32{ - heights: []uint32{2630000, 0}, + heights: []uint32{2633000, 0}, values: []int32{4, 0}, } SigChainSkipMinerBlocks = 4096 SigChainSkipMinerMaxAllowed = 3 SigChainSkipMinerBitShift = HeightDependentInt32{ - heights: []uint32{2630000, 0}, + heights: []uint32{2633000, 0}, values: []int32{10, 0}, } )