Skip to content

Commit 71cf3f5

Browse files
author
KemBits
committed
[Stratis] The client is ready!
1 parent 970d66d commit 71cf3f5

4 files changed

Lines changed: 8 additions & 39 deletions

File tree

src/chainparams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class CMainParams : public CChainParams {
109109
assert(hashGenesisBlock == uint256("0x0000066e91e46e5a264d42c89e1204963b2ee6be230b443e9159020539d972af"));
110110
assert(genesis.hashMerkleRoot == uint256("0x65a26bc20b0351aebf05829daefa8f7db2f800623439f3c114257c91447f1518"));
111111

112-
// vSeeds.push_back(CDNSSeedData("rat4.stratis.co", "seed.stratis.co"));
112+
vSeeds.push_back(CDNSSeedData("seed.stratisplatform.com", "seed.cloudstratis.com"));
113113

114114
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1, 63);
115115
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1, 125);

src/chainparamsseeds.h

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,12 @@
66
// Each line contains a 16-byte IPv6 address and a port.
77
// IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.
88
static SeedSpec6 pnSeed6_main[] = {
9-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x68,0xa7,0x77,0x99}, 16178},
10-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x6a,0xb9,0x2e,0xbe}, 16178},
11-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x77,0x60,0xcf,0x28}, 16178},
12-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x97,0x50,0xa6,0xa8}, 16178},
13-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xa2,0xf3,0xea,0xe9}, 16178},
14-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xb0,0x09,0x00,0x13}, 16178},
15-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xb0,0x09,0x41,0x29}, 16178},
16-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xbf,0xee,0xf2,0xc0}, 16178},
17-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xc0,0x63,0xb7,0x83}, 16178},
18-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xc6,0x1b,0x50,0xa2}, 16178},
19-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x18,0x16,0xa9,0xc7}, 16178},
20-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x25,0xbb,0x3e,0xc5}, 16178},
21-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x25,0x3b,0x67,0x3e}, 16178},
22-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x2d,0x30,0x0e,0xf1}, 16178},
23-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x05,0x87,0x93,0x92}, 16178},
24-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x05,0xc4,0x52,0xaf}, 16178},
25-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x42,0xcd,0xc3,0xea}, 16178},
26-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x47,0xfc,0xd4,0xe6}, 16178},
27-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x4a,0xd0,0xb8,0xa1}, 16178},
28-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x4c,0x58,0x8a,0xc0}, 16178},
29-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x57,0x7f,0x71,0x2f}, 16178},
30-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x59,0xd7,0xf6,0x3e}, 16178},
31-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x5e,0x17,0x26,0xc6}, 16178},
32-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x62,0xc0,0x8b,0x0e}, 16178},
33-
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x63,0xee,0xc1,0x26}, 16178},
34-
{{0x2a,0x01,0x0e,0x35,0x2e,0xb5,0x98,0xb0,0x59,0xbd,0x05,0x68,0x49,0x61,0xd4,0x8a}, 16178},
35-
{{0x20,0x01,0x41,0xd0,0x00,0x52,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc5}, 16178},
36-
{{0x26,0x07,0x53,0x00,0x00,0x60,0x44,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01}, 16178},
37-
{{0x26,0x07,0x53,0x00,0x00,0x60,0x46,0x9c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, 16178},
38-
{{0x26,0x07,0x53,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xa8}, 16178},
39-
{{0x26,0x10,0x01,0xc0,0x00,0x00,0x00,0x06,0x02,0x1e,0xc9,0xff,0xfe,0xdd,0xea,0x1b}, 16178}
9+
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x8a,0x44,0x06,0x19}, 16178},
10+
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xbc,0xa6,0x91,0xde}, 16178}
4011
};
4112

4213
static SeedSpec6 pnSeed6_test[] = {
4314

4415
};
4516
#endif
17+

src/checkpoints.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,9 @@ namespace Checkpoints
2727
//
2828
static MapCheckpoints mapCheckpoints =
2929
boost::assign::map_list_of
30-
( 5001, uint256("0x2fac9021be0c311e7b6dc0933a72047c70f817e2eb1e01bede011193ad1b28bc") ) // hardfork
31-
( 10000, uint256("0x0000000000827e4dc601f7310a91c45af8df0dfc1b6fa1dfa5b896cb00c8767c") ) // last pow block
32-
( 38425, uint256("0x62bf2e9701226d2f88d9fa99d650bd81f3faf2e56f305b7d71ccd1e7aa9c3075") ) // hardfork
33-
( 254348, uint256("0x9bf8d9bd757d3ef23d5906d70567e5f0da93f1e0376588c8d421a95e2421838b") ) // minor network split
34-
( 319002, uint256("0x0011494d03b2cdf1ecfc8b0818f1e0ef7ee1d9e9b3d1279c10d35456bc3899ef") ) // hardfork
35-
( 872456, uint256("0xe4fd321ced1de06213d2e246b150b4bfd8c4aa0989965dce88f2a58668c64860") ) // hardfork
30+
( 0, uint256("0x0000066e91e46e5a264d42c89e1204963b2ee6be230b443e9159020539d972af") )
31+
( 2, uint256("0x00000fde5a4d4b354b11fb39f02a9502b64d2df88e7047cb55ee78dda2dadbbf") ) // hardfork
32+
( 8, uint256("0x00000595e5a5c616753e20c64eb42e9cbc944ce9c98d0aac66816cb3cd41f07e") ) // hardfork
3633
;
3734

3835
// TestNet has no checkpoints

src/main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ inline bool IsProtocolV2(int nHeight) { return TestNet() || nHeight > 0; }
6060
inline bool IsProtocolV3(int64_t nTime) { return TestNet() || nTime > 1470467000; }
6161

6262
inline int64_t FutureDriftV1(int64_t nTime) { return nTime + 10 * 60; }
63-
inline int64_t FutureDriftV2(int64_t nTime) { return nTime + 15; }
63+
inline int64_t FutureDriftV2(int64_t nTime) { return nTime + 128*60*60; }
6464
inline int64_t FutureDrift(int64_t nTime, int nHeight) { return IsProtocolV2(nHeight) ? FutureDriftV2(nTime) : FutureDriftV1(nTime); }
6565

6666
inline unsigned int GetTargetSpacing(int nHeight) { return IsProtocolV2(nHeight) ? 64 : 60; }

0 commit comments

Comments
 (0)