From c0b34109d03e4b5a3b9870d1934f962d3bbe07a8 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Tue, 17 Feb 2015 16:32:16 +0100 Subject: [PATCH] Delete some dead code from PeerGroup --- core/src/main/java/org/bitcoinj/core/PeerGroup.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/java/org/bitcoinj/core/PeerGroup.java b/core/src/main/java/org/bitcoinj/core/PeerGroup.java index 18c6c3c9..9fac3d36 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerGroup.java +++ b/core/src/main/java/org/bitcoinj/core/PeerGroup.java @@ -116,9 +116,6 @@ public class PeerGroup implements TransactionBroadcaster { // Minimum protocol version we will allow ourselves to connect to: require Bloom filtering. private volatile int vMinRequiredProtocolVersion = FilteredBlock.MIN_PROTOCOL_VERSION; - // Runs a background thread that we use for scheduling pings to our peers, so we can measure their performance - // and network latency. We ping peers every pingIntervalMsec milliseconds. - private volatile Timer vPingTimer; /** How many milliseconds to wait after receiving a pong before sending another ping. */ public static final long DEFAULT_PING_INTERVAL_MSEC = 2000; private long pingIntervalMsec = DEFAULT_PING_INTERVAL_MSEC;