Skip to content

Commit

Permalink
add checkpoints to strax
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Jan 27, 2022
1 parent d4e38ee commit cc038cf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Networks/Blockcore.Networks.Strax/StraxTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,17 @@ public StraxTest()

this.Checkpoints = new Dictionary<int, CheckpointInfo>
{
{ 0, new CheckpointInfo(new uint256("0x0000db68ff9e74fbaf7654bab4fa702c237318428fa9186055c243ddde6354ca"), new uint256("0x0000000000000000000000000000000000000000000000000000000000000000")) },
{ 2, new CheckpointInfo(new uint256("0xe334d9b91f59eb61b02695358816598320d739c65154fa5d2bf9c7bf6b69384f"), new uint256("0x9e104e64e598dfa8287daf15259a694d057b24adf2dd63dab861015397497c88")) }, // Premine
{ 100, new CheckpointInfo(new uint256("0x10f4c147c0d8fccbf35b56a9951966fc0d7c0281e44100b0c948af7f582fb1da"), new uint256("0x6e30665551970eb3f12f849a7c841e7db262d3118be684102f9ababf775f1dfc")) },
{ 10_000, new CheckpointInfo(new uint256("0xe7885b91de04dfb65255712277839f9dc4b364346a838ad00fdb4de40825c075"), new uint256("0xe9c91960b4bf6efb3e7c56e6956eab75cd89b14cb13061130be2de70d0b49ac2")) },
{ 50_000, new CheckpointInfo(new uint256("0x1fe9bea56c58da86c262667c654ac2a951a07b50816ca5358b472a7961257abe"), new uint256("0x1a75a70969eeb668c45452080878e7bb95d232596e0b67293cab8d80a67ce7d3")) },
{ 100_000, new CheckpointInfo(new uint256("0x400ccde5f1c840805b5840eb744871605e0bbca9c3a997f977a5e4e8f21dc264"), new uint256("0x0d08a9f68ee4d1ef8387ab6afc1ab0810a0085f900db3361c239903828a4bba0")) },
{ 250_000, new CheckpointInfo(new uint256("0x60752fc5cf4e326e4b7fa44992affa30abb5dfdd52680f84db390d158237e24d"), new uint256("0x6f07cc332ef049b2f7fd06ff0c5883830c85d9e5ca965c39a3a2c97cf1bfe92d")) },
{ 350_000, new CheckpointInfo(new uint256("0xc409b84bfd525550b535c64ca4d1becb1663b369e86c0d8af5b346b3b7f951b8"), new uint256("0x1dc8e7fd11a833a722c0b0c48db8a5eec10074fbf3066618e09e5662f6ff2113")) },
{ 500_000, new CheckpointInfo(new uint256("0xda5da5c0ac8f34e89d6d308e1a046e98e46080941670e327d9eb84dc859d153f"), new uint256("0x1f73717627345bdc6d7b9b521dcea85df2586208a6d3a90fcd2efd16dcf9c591")) },
{ 650_000, new CheckpointInfo(new uint256("0x50b2ddb88c5efe942d8bf6a07bed996f44b3b663df0f77d5d88ad1adba48329b"), new uint256("0xb507c86a412b9e50d0bed3be52a9042c2dbaca6653ff6ccb3e2e355c24c73a70")) },
{ 750_000, new CheckpointInfo(new uint256("0x592842f3e5af517b0ce6f451f6b61738a6dea1007ccbaab39f22878de8de78dc"), new uint256("0x6ee053737f80a3a5173c10a507b1d1ea2ec9f6fa6be07b2b9d26558e4622f4a4")) },
};

this.Bech32Encoders = new Bech32Encoder[2];
Expand Down
4 changes: 4 additions & 0 deletions src/Node/Blockcore.Node/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@
"commandName": "Project",
"commandLineArgs": "--chain=STRAX -server -iprangefiltering=0 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser"
},
"STRAX (TEST)": {
"commandName": "Project",
"commandLineArgs": "--chain=STRAX -server -iprangefiltering=0 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -testnet"
},
"STRAX (MAIN/LOCAL)": {
"commandName": "Project",
"commandLineArgs": "--chain=STRAX -server -iprangefiltering=0 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -datadir=nodedata"
Expand Down

0 comments on commit cc038cf

Please sign in to comment.