|
|
@ -21,9 +21,9 @@ const ( |
|
|
|
testnetVdfDifficulty = 10000 // This takes about 20s to finish the vdf
|
|
|
|
testnetVdfDifficulty = 10000 // This takes about 20s to finish the vdf
|
|
|
|
|
|
|
|
|
|
|
|
// TestNetHTTPPattern is the http pattern for testnet.
|
|
|
|
// TestNetHTTPPattern is the http pattern for testnet.
|
|
|
|
TestNetHTTPPattern = "https://api.s%d.tn.hmny.io" |
|
|
|
TestNetHTTPPattern = "https://api.s%d.b.hmny.io" |
|
|
|
// TestNetWSPattern is the websocket pattern for testnet.
|
|
|
|
// TestNetWSPattern is the websocket pattern for testnet.
|
|
|
|
TestNetWSPattern = "wss://ws.s%d.tn.hmny.io" |
|
|
|
TestNetWSPattern = "wss://ws.s%d.b.hmny.io" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance { |
|
|
|
func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance { |
|
|
@ -81,5 +81,5 @@ var testnetReshardingEpoch = []*big.Int{ |
|
|
|
params.TestnetChainConfig.StakingEpoch, |
|
|
|
params.TestnetChainConfig.StakingEpoch, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var testnetV0 = MustNewInstance(4, 30, 25, numeric.OneDec(), genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch()) |
|
|
|
var testnetV0 = MustNewInstance(4, 20, 15, numeric.OneDec(), genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch()) |
|
|
|
var testnetV1 = MustNewInstance(4, 50, 25, numeric.MustNewDecFromStr("0.68"), genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch()) |
|
|
|
var testnetV1 = MustNewInstance(4, 20, 15, numeric.MustNewDecFromStr("0.90"), genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch()) |
|
|
|