File tree Expand file tree Collapse file tree 4 files changed +1211
-1192
lines changed Expand file tree Collapse file tree 4 files changed +1211
-1192
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class CMainParams : public CChainParams {
134
134
135
135
bech32_hrp = " bc" ;
136
136
137
- vFixedSeeds = std::vector<SeedSpec6 >(std::begin (pnSeed6_main ), std::end (pnSeed6_main ));
137
+ vFixedSeeds = std::vector<uint8_t >(std::begin (chainparams_seed_main ), std::end (chainparams_seed_main ));
138
138
139
139
fDefaultConsistencyChecks = false ;
140
140
fRequireStandard = true ;
@@ -239,7 +239,7 @@ class CTestNetParams : public CChainParams {
239
239
240
240
bech32_hrp = " tb" ;
241
241
242
- vFixedSeeds = std::vector<SeedSpec6 >(std::begin (pnSeed6_test ), std::end (pnSeed6_test ));
242
+ vFixedSeeds = std::vector<uint8_t >(std::begin (chainparams_seed_test ), std::end (chainparams_seed_test ));
243
243
244
244
fDefaultConsistencyChecks = false ;
245
245
fRequireStandard = false ;
Original file line number Diff line number Diff line change 14
14
#include < memory>
15
15
#include < vector>
16
16
17
- struct SeedSpec6 {
18
- uint8_t addr[16 ];
19
- uint16_t port;
20
- };
21
-
22
17
typedef std::map<int , uint256> MapCheckpoints;
23
18
24
19
struct CCheckpointData {
@@ -108,7 +103,7 @@ class CChainParams
108
103
const std::vector<std::string>& DNSSeeds () const { return vSeeds; }
109
104
const std::vector<unsigned char >& Base58Prefix (Base58Type type) const { return base58Prefixes[type]; }
110
105
const std::string& Bech32HRP () const { return bech32_hrp; }
111
- const std::vector<SeedSpec6 >& FixedSeeds () const { return vFixedSeeds; }
106
+ const std::vector<uint8_t >& FixedSeeds () const { return vFixedSeeds; }
112
107
const CCheckpointData& Checkpoints () const { return checkpointData; }
113
108
114
109
// ! Get allowed assumeutxo configuration.
@@ -130,7 +125,7 @@ class CChainParams
130
125
std::string bech32_hrp;
131
126
std::string strNetworkID;
132
127
CBlock genesis;
133
- std::vector<SeedSpec6 > vFixedSeeds;
128
+ std::vector<uint8_t > vFixedSeeds;
134
129
bool fDefaultConsistencyChecks ;
135
130
bool fRequireStandard ;
136
131
bool m_is_test_chain;
You can’t perform that action at this time.
0 commit comments