forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old generate-seeds.py script/dir Update makeseeds for use with PIVX makeseeds can now pull data from a DNS seeder directly to generate the list of valid fallback nodes. GitHub-Pull: bitcoin#167 Rebased-From: a283d96
- Loading branch information
Showing
5 changed files
with
105 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
### Seeds ### | ||
# Seeds | ||
|
||
Utility to generate the seeds.txt list that is compiled into the client | ||
(see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and [share/seeds](/share/seeds)). | ||
(see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and other utilities in [contrib/seeds](/contrib/seeds)). | ||
|
||
The 512 seeds compiled into the 0.10 release were created from sipa's DNS seed data, like this: | ||
Be sure to update `PATTERN_AGENT` in `makeseeds.py` to include the current version, | ||
and remove old versions as necessary. | ||
|
||
curl -s http://bitcoin.sipa.be/seeds.txt | makeseeds.py | ||
The seeds compiled into the release are created from fuzzbawls' DNS seed data, like this: | ||
|
||
curl -s http://seeder.fuzzbawls.pw/pivx-mainnet.txt > seeds_main.txt | ||
python3 makeseeds.py < seeds_main.txt > nodes_main.txt | ||
python3 generate-seeds.py . > ../../src/chainparamsseeds.h | ||
|
||
## Dependencies | ||
|
||
Ubuntu: | ||
|
||
sudo apt-get install python3-dnspython |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.