Skip to content

Commit

Permalink
Add testnet3 params
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacia committed Dec 7, 2020
1 parent cd69896 commit 138ee67
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions chaincfg/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ var MainNetParams = Params{
},
},
{
Height: 661648,
Hash: newHashFromStr("0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce"),
Height: 661648,
Hash: newHashFromStr("0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce"),
},
},

Expand Down Expand Up @@ -508,17 +508,21 @@ var TestNet3Params = Params{
GreatWallForkHeight: 1303884, // 00000000000001a749d7aa418c582a0e234ebc15643bf23a4f3107fa55120388
GravitonForkHeight: 1341711, // 00000000c678f67ea16d5bf803f68ce42991839d13849f77332d6f586f62d421
PhononForkHeight: 1378460, // 0000000070f33c64cb94629680fbc57d17bea354a73e693affcb366d023db324
AxionActivationHeight: 1421481, // 00000000062c7f32591d883c99fc89ebe74a83287c0f2b7ffeef72e62217d40b

CoinbaseMaturity: 100,
SubsidyReductionInterval: 210000,
TargetTimespan: time.Hour * 24 * 14, // 14 days
TargetTimePerBlock: time.Minute * 10, // 10 minutes
RetargetAdjustmentFactor: 4, // 25% less, 400% more
ReduceMinDifficulty: true,
NoDifficultyAdjustment: false,
MinDiffReductionTime: time.Minute * 20, // TargetTimePerBlock * 2
AsertDifficultyHalflife: 3600, // 1 hour
GenerateSupported: false,
CoinbaseMaturity: 100,
SubsidyReductionInterval: 210000,
TargetTimespan: time.Hour * 24 * 14, // 14 days
TargetTimePerBlock: time.Minute * 10, // 10 minutes
RetargetAdjustmentFactor: 4, // 25% less, 400% more
ReduceMinDifficulty: true,
NoDifficultyAdjustment: false,
MinDiffReductionTime: time.Minute * 20, // TargetTimePerBlock * 2
AsertDifficultyHalflife: 3600, // 1 hour
AsertDifficultyAnchorHeight: 1421481,
AsertDifficultyAnchorParentTimestamp: 1605445400,
AsertDifficultyAnchorBits: 486604799,
GenerateSupported: false,

// Checkpoints ordered from oldest to newest.
Checkpoints: []Checkpoint{
Expand All @@ -535,6 +539,7 @@ var TestNet3Params = Params{
{Height: 1000007, Hash: newHashFromStr("00000000001ccb893d8a1f25b70ad173ce955e5f50124261bbbc50379a612ddf")},
{Height: 1341712, Hash: newHashFromStr("00000000fffc44ea2e202bd905a9fbbb9491ef9e9d5a9eed4039079229afa35b")},
{Height: 1378461, Hash: newHashFromStr("0000000099f5509b5f36b1926bcf82b21d936ebeadee811030dfbbb7fae915d7")},
{Height: 1421482, Hash: newHashFromStr("0000000023e0680a8a062b3cc289a4a341124ce7fcb6340ede207e194d73b60a")},
},

// Consensus rule change deployments.
Expand Down

0 comments on commit 138ee67

Please sign in to comment.