Skip to content

Commit

Permalink
Seednodes and Checkpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Krekeler committed Dec 25, 2018
1 parent e5f2b79 commit b67dcee
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
9 changes: 9 additions & 0 deletions contrib/seeds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ The seeds compiled into the release are created from the current masternode list
Ubuntu:

sudo apt-get install python3-dnspython

### Current usage
Compilation computer, ~/documentchain/contrib/seeds$
cp nodes_main.txt ori.txt
vi nodes_main.txt
python3 generate-seeds.py ./
Code computer: copy result to chainparamsseeds.h
rm nodes_main.txt
mv ori.txt nodes_main.txt
5 changes: 5 additions & 0 deletions contrib/seeds/nodes_main.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
85.214.65.60:41319
91.200.100.209:41319
95.216.143.13:41319
104.140.22.62:41319
104.206.241.183:41319
107.172.248.127:41319
107.174.203.97:41319
159.69.189.185:41319
185.216.214.161:41319
195.201.226.128:41319
6 changes: 3 additions & 3 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class CMainParams : public CChainParams {
nExtCoinType = 5;

// fixed seed node, use contrib/seeds/generate-seeds.py to edit pnSeed6_main and pnSeed6_test
vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main)); // vFixedSeeds.clear();
vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main));

fMiningRequiresPeers = true;
fDefaultConsistencyChecks = false;
Expand All @@ -258,8 +258,8 @@ class CMainParams : public CChainParams {
( 4600, uint256S("0x00003e6d58a4974170d74f8ccb55aca3afeca21fc6a25789c64a88ac3b44c239"))
( 8410, uint256S("0x000000dcc96e66827c73c603c96683bb53d536e878fa282ef3e1a30ee42c4121"))
( 15000, uint256S("0x0000024a04c4ac9eb28385fa0a18b6911b7ee22c64c3af476cd72bcf27fa136f"))
( 17600, uint256S("0x0000b0fabbc7116c54ca34d85424778a41643febe205d1486779573f975e4ae5"))
( 24986, uint256S("0x00000425064314521ecb0a68e75d2389ecaf69273d98a594362fa514fb6e204c"))
( 20013, uint256S("0x000000465d652bda5d5746ec620b0926de583a622011b61404af02fd07176236"))
( 26990, uint256S("0x00000ac7439f65441970eed887d5bad2ecf6a1bbde4f39a4a21f50aaa648d049"))
};

chainTxData = ChainTxData{
Expand Down
6 changes: 6 additions & 0 deletions src/chainparamsseeds.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@
*/
static SeedSpec6 pnSeed6_main[] = {
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x55,0xd6,0x41,0x3c}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x5b,0xc8,0x64,0xd1}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x5f,0xd8,0x8f,0x0d}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x68,0x8c,0x16,0x3e}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x68,0xce,0xf1,0xb7}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x6b,0xac,0xf8,0x7f}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x6b,0xae,0xcb,0x61}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x9f,0x45,0xbd,0xb9}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xb9,0xd8,0xd6,0xa1}, 41319},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xc3,0xc9,0xe2,0x80}, 41319}
};

static SeedSpec6 pnSeed6_test[] = {
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x55,0xd6,0x41,0x3c}, 41419},
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x5f,0xd8,0x8f,0x0d}, 41419},
Expand Down

1 comment on commit b67dcee

@Krekeler
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release 0.12.11 "Carol"

Please sign in to comment.