Add httpseed.bitcoin.schildbach.de to HTTP seeds.

This commit is contained in:
Andreas Schildbach
2015-08-22 15:18:49 +02:00
parent a8edae0475
commit 021b0d76fe

View File

@@ -1,5 +1,6 @@
/*
* Copyright 2013 Google Inc.
* Copyright 2015 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,7 +17,6 @@
package org.bitcoinj.params;
import com.google.common.io.*;
import org.bitcoinj.core.*;
import org.bitcoinj.net.discovery.*;
@@ -78,12 +78,15 @@ public class MainNetParams extends AbstractBitcoinNetParams {
"seed.bitnodes.io", // Addy Yeow
};
httpSeeds = new HttpDiscovery.Details[] {
// Mike Hearn
new HttpDiscovery.Details(
ECKey.fromPublicOnly(BaseEncoding.base16().decode(
"027a79143a4de36341494d21b6593015af6b2500e720ad2eda1c0b78165f4f38c4".toUpperCase()
)),
ECKey.fromPublicOnly(Utils.HEX.decode("027a79143a4de36341494d21b6593015af6b2500e720ad2eda1c0b78165f4f38c4")),
URI.create("http://main.seed.vinumeris.com/peers")
),
// Andreas Schildbach
new HttpDiscovery.Details(
ECKey.fromPublicOnly(Utils.HEX.decode("0238746c59d46d5408bf8b1d0af5740fe1a6e1703fcb56b2953f0b965c740d256f")),
URI.create("http://httpseed.bitcoin.schildbach.de/peers")
)
};