Selaa lähdekoodia

chainparams: make supported service bits option explicit

tags/v0.15.1
Cory Fields 3 vuotta sitten
vanhempi
commit
c1be285364
2 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 3
    3
      src/chainparams.cpp
  2. 1
    1
      src/chainparams.h

+ 3
- 3
src/chainparams.cpp Näytä tiedosto

@@ -126,7 +126,7 @@ public:
// Note that of those with the service bits flag, most only support a subset of possible options
vSeeds.emplace_back("seed.bitcoin.sipa.be", true); // Pieter Wuille, only supports x1, x5, x9, and xd
vSeeds.emplace_back("dnsseed.bluematt.me", true); // Matt Corallo, only supports x9
vSeeds.emplace_back("dnsseed.bitcoin.dashjr.org"); // Luke Dashjr
vSeeds.emplace_back("dnsseed.bitcoin.dashjr.org", false); // Luke Dashjr
vSeeds.emplace_back("seed.bitcoinstats.com", true); // Christian Decker, supports x1 - xf
vSeeds.emplace_back("seed.bitcoin.jonasschnelli.ch", true); // Jonas Schnelli, only supports x1, x5, x9, and xd
vSeeds.emplace_back("seed.btc.petertodd.org", true); // Peter Todd, only supports x1, x5, x9, and xd
@@ -227,8 +227,8 @@ public:
// nodes with support for servicebits filtering should be at the top
vSeeds.emplace_back("testnet-seed.bitcoin.jonasschnelli.ch", true);
vSeeds.emplace_back("seed.tbtc.petertodd.org", true);
vSeeds.emplace_back("testnet-seed.bluematt.me");
vSeeds.emplace_back("testnet-seed.bitcoin.schildbach.de");
vSeeds.emplace_back("testnet-seed.bluematt.me", false);
vSeeds.emplace_back("testnet-seed.bitcoin.schildbach.de", false);

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);

+ 1
- 1
src/chainparams.h Näytä tiedosto

@@ -17,7 +17,7 @@
struct CDNSSeedData {
std::string host;
bool supportsServiceBitsFiltering;
CDNSSeedData(const std::string &strHost, bool supportsServiceBitsFilteringIn = false) : host(strHost), supportsServiceBitsFiltering(supportsServiceBitsFilteringIn) {}
CDNSSeedData(const std::string &strHost, bool supportsServiceBitsFilteringIn) : host(strHost), supportsServiceBitsFiltering(supportsServiceBitsFilteringIn) {}
};

struct SeedSpec6 {

Loading…
Peruuta
Tallenna