Skip to content

Commit

Permalink
Update transition height and net version
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <[email protected]>
  • Loading branch information
yilunzhang committed Apr 23, 2021
1 parent e17de61 commit d7180e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/nknd/nknd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
20 changes: 10 additions & 10 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand Down Expand Up @@ -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},
}
)
Expand Down

0 comments on commit d7180e5

Please sign in to comment.