mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
chainparams: add signet fixed seeds if default network
This commit is contained in:
parent
49f155efbf
commit
d4ab1150c4
1 changed files with 2 additions and 2 deletions
|
@ -417,10 +417,12 @@ public:
|
||||||
explicit SigNetParams(const SigNetOptions& options)
|
explicit SigNetParams(const SigNetOptions& options)
|
||||||
{
|
{
|
||||||
std::vector<uint8_t> bin;
|
std::vector<uint8_t> bin;
|
||||||
|
vFixedSeeds.clear();
|
||||||
vSeeds.clear();
|
vSeeds.clear();
|
||||||
|
|
||||||
if (!options.challenge) {
|
if (!options.challenge) {
|
||||||
bin = "512103ad5e0edad18cb1f0fc0d28a3d4f1f3e445640337489abb10404f2d1e086be430210359ef5021964fe22d6f8e05b2463c9540ce96883fe3b278760f048f5189f2e6c452ae"_hex_v_u8;
|
bin = "512103ad5e0edad18cb1f0fc0d28a3d4f1f3e445640337489abb10404f2d1e086be430210359ef5021964fe22d6f8e05b2463c9540ce96883fe3b278760f048f5189f2e6c452ae"_hex_v_u8;
|
||||||
|
vFixedSeeds = std::vector<uint8_t>(std::begin(chainparams_seed_signet), std::end(chainparams_seed_signet));
|
||||||
vSeeds.emplace_back("seed.signet.bitcoin.sprovoost.nl.");
|
vSeeds.emplace_back("seed.signet.bitcoin.sprovoost.nl.");
|
||||||
vSeeds.emplace_back("seed.signet.achownodes.xyz."); // Ava Chow, only supports x1, x5, x9, x49, x809, x849, xd, x400, x404, x408, x448, xc08, xc48, x40c
|
vSeeds.emplace_back("seed.signet.achownodes.xyz."); // Ava Chow, only supports x1, x5, x9, x49, x809, x849, xd, x400, x404, x408, x448, xc08, xc48, x40c
|
||||||
|
|
||||||
|
@ -500,8 +502,6 @@ public:
|
||||||
assert(consensus.hashGenesisBlock == uint256{"00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6"});
|
assert(consensus.hashGenesisBlock == uint256{"00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6"});
|
||||||
assert(genesis.hashMerkleRoot == uint256{"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"});
|
assert(genesis.hashMerkleRoot == uint256{"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"});
|
||||||
|
|
||||||
vFixedSeeds.clear();
|
|
||||||
|
|
||||||
m_assumeutxo_data = {
|
m_assumeutxo_data = {
|
||||||
{
|
{
|
||||||
.height = 160'000,
|
.height = 160'000,
|
||||||
|
|
Loading…
Add table
Reference in a new issue