Skip to content

Commit

Permalink
Update harcoded seed node addresses comment
Browse files Browse the repository at this point in the history
Previous updates:
Cherry pick 6b7c484
Cherry pick b8541e1
  • Loading branch information
oscarguindzberg committed May 16, 2020
1 parent fa9b769 commit 5439721
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion core/src/main/java/org/bitcoinj/params/MainNetParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,18 @@ public MainNetParams() {
)
};

// These are in big-endian format, which is what the SeedPeers code expects.
// note: These are in big-endian format, which is what the SeedPeers code expects.
// These values should be kept up-to-date as much as possible.
//
// these values were created using this tool:
// https://github.com/dan-da/names2ips
//
// with this exact command:
// $ ./names2ips.php --hostnames=seed.bitcoin.sipa.be,dnsseed.bluematt.me,dnsseed.bitcoin.dashjr.org,seed.bitcoinstats.com,seed.bitcoin.jonasschnelli.ch,seed.btc.petertodd.org,seed.bitcoin.sprovoost.nl,dnsseed.emzy.de --format=code --ipformat=hex --endian=big

// TODO better would be that use same as deliver to Bitcoin Core: https://github.com/bitcoin/bitcoin/tree/master/contrib/seeds
// Prefer to not use the list from BitoinJ

// Updated Apr. 11th 2019
addrSeeds = new int[] {
// seed.bitcoin.sipa.be
Expand Down

0 comments on commit 5439721

Please sign in to comment.