network/pool: improve dns discovery.

This commit is contained in:
Christopher Jeffrey 2016-12-19 05:20:47 -08:00
parent 9490d29390
commit 3e3e4c84ba
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 4 additions and 4 deletions

View File

@ -2324,7 +2324,7 @@ HostList.prototype.discover = co(function* discover() {
yield this.populate(seed);
if (this.list.size >= this.maxOutbound)
if (this.list.size >= this.maxOutbound * 2)
break;
}
});

View File

@ -49,12 +49,12 @@ main.type = 'main';
*/
main.seeds = [
'seed.bitcoin.sipa.be', // Pieter Wuille
'dnsseed.bluematt.me', // Matt Corallo
'dnsseed.bitcoin.dashjr.org', // Luke Dashjr
'seed.bitcoinstats.com', // Christian Decker
'bitseed.xf2.org', // Jeff Garzik
'seed.bitcoin.jonasschnelli.ch' // Jonas Schnelli
'seed.bitcoin.jonasschnelli.ch', // Jonas Schnelli
'seed.bitcoin.sipa.be', // Pieter Wuille
'dnsseed.bluematt.me' // Matt Corallo
];
/**