TestNet3Params: Add testnet.httpseed.bitcoin.schildbach.de HTTP seed.
package org.bitcoinj.params;
import java.math.BigInteger;
+import java.net.URI;
import java.util.Date;
import org.bitcoinj.core.Block;
+import org.bitcoinj.core.ECKey;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.core.StoredBlock;
import org.bitcoinj.core.Utils;
import org.bitcoinj.core.VerificationException;
+import org.bitcoinj.net.discovery.HttpDiscovery;
import org.bitcoinj.store.BlockStore;
import org.bitcoinj.store.BlockStoreException;
@@ -66,6 +69,14 @@ public class TestNet3Params extends AbstractBitcoinNetParams {
"seed.testnet.bitcoin.sprovoost.nl", // Sjors Provoost
"testnet-seed.bluematt.me", // Matt Corallo
};
+ httpSeeds = new HttpDiscovery.Details[] {
+ // Andreas Schildbach
+ new HttpDiscovery.Details(
+ ECKey.fromPublicOnly(Utils.HEX.decode(
+ "0238746c59d46d5408bf8b1d0af5740fe1a6e1703fcb56b2953f0b965c740d256f")),
+ URI.create("http://testnet.httpseed.bitcoin.schildbach.de/peers")
+ )
+ };
addrSeeds = null;
bip32HeaderP2PKHpub = 0x043587cf; // The 4 byte header that serializes in base58 to "tpub".
bip32HeaderP2PKHpriv = 0x04358394; // The 4 byte header that serializes in base58 to "tprv"
