Set BTC_MAINNET for real

This commit is contained in:
Florian Reimair 2019-01-21 19:33:31 +01:00
parent 3c6566b65f
commit 832bc4549a
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ public class P2PRoundTripTime extends Metric implements MessageListener, SetupLi
public P2PRoundTripTime(Reporter reporter) { public P2PRoundTripTime(Reporter reporter) {
super(reporter); super(reporter);
Version.setBaseCryptoNetworkId(1); // set to BTC_MAINNET Version.setBaseCryptoNetworkId(0); // set to BTC_MAINNET
} }
@Override @Override

View file

@ -80,7 +80,7 @@ public class P2PRoundTripTimeTests {
if (!"default".equals(sampleSize)) if (!"default".equals(sampleSize))
configuration.put("P2PRoundTripTime.run.sampleSize", sampleSize); configuration.put("P2PRoundTripTime.run.sampleSize", sampleSize);
// torproject.org hidden service // torproject.org hidden service
configuration.put("P2PRoundTripTime.run.hosts", "http://expyuzz4wqqyqhjn.onion:80"); configuration.put("P2PRoundTripTime.run.hosts", "http://fl3mmribyxgrv63c.onion:8000");
configuration.put("P2PRoundTripTime.run.torProxyPort", "9052"); configuration.put("P2PRoundTripTime.run.torProxyPort", "9052");
Metric DUT = new P2PRoundTripTime(reporter); Metric DUT = new P2PRoundTripTime(reporter);