Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Networks/x42/x42/Networks/x42Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public x42Test()

var bip9Deployments = new x42BIP9Deployments
{
[x42BIP9Deployments.ColdStaking] = new BIP9DeploymentsParameters("ColdStaking", 27, BIP9DeploymentsParameters.AlwaysActive, 999999999, BIP9DeploymentsParameters.DefaultMainnetThreshold),
[x42BIP9Deployments.CSV] = new BIP9DeploymentsParameters("CSV", 0, BIP9DeploymentsParameters.AlwaysActive, 999999999, BIP9DeploymentsParameters.DefaultMainnetThreshold),
[x42BIP9Deployments.Segwit] = new BIP9DeploymentsParameters("Segwit", 1, new DateTime(2020, 3, 1, 0, 0, 0, DateTimeKind.Utc), new DateTime(2021, 3, 1, 0, 0, 0, DateTimeKind.Utc), BIP9DeploymentsParameters.DefaultMainnetThreshold)
[x42BIP9Deployments.ColdStaking] = new BIP9DeploymentsParameters("ColdStaking", 27, BIP9DeploymentsParameters.AlwaysActive, 999999999, BIP9DeploymentsParameters.AlwaysActive),
[x42BIP9Deployments.CSV] = new BIP9DeploymentsParameters("CSV", 0, BIP9DeploymentsParameters.AlwaysActive, 999999999, BIP9DeploymentsParameters.AlwaysActive),
[x42BIP9Deployments.Segwit] = new BIP9DeploymentsParameters("Segwit", 1, BIP9DeploymentsParameters.AlwaysActive, 999999999, BIP9DeploymentsParameters.AlwaysActive)
};

consensusFactory.Protocol = new ConsensusProtocol()
Expand All @@ -106,7 +106,7 @@ public x42Test()
bip9Deployments: bip9Deployments,
bip34Hash: null,
minerConfirmationWindow: 2016, // nPowTargetTimespan / nPowTargetSpacing
maxReorgLength: 9,
maxReorgLength: 100,
defaultAssumeValid: null,
maxMoney: Money.Coins(42 * 1000000),
coinbaseMaturity: 10,
Expand Down
6 changes: 3 additions & 3 deletions src/Networks/x42/x42/x42Setup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ internal class x42Setup
PubKeyAddress = 65,
ScriptAddress = 196,
SecretAddress = 65 + 128,
GenesisTime = 1588635707,
GenesisTime = 1591458972,
GenesisNonce = 2433759,
GenesisBits = new Target(new uint256("0000ffff00000000000000000000000000000000000000000000000000000000")),
GenesisVersion = 1,
GenesisReward = Money.Zero,
HashGenesisBlock = "0x11bd504102b42b24680d7b4f9b9e9521adc1b690253494d108193cdfcdd2ef0b",
HashMerkleRoot = "0x87e7f7df2fbe9fa56c627e59342e0d8142eb5e44c5e5769609059a60f17d0702",
HashGenesisBlock = "0xa92bf124a1e6f237015440d5f1e1999bdef8e321f2d3fdc367eb2f7733b17854",
HashMerkleRoot = "0xd0695e2d2562e7054b599c053fad4a72997f2e9629a2f9760e57584cf850ae57",
DNS = new[] { "testnet1.x42seed.host" },
Nodes = new[] { "63.32.82.169", "35.155.194.159" },
Checkpoints = new Dictionary<int, CheckpointInfo>
Expand Down