mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-16 04:05:50 +00:00
Delete some dead code from PeerGroup
This commit is contained in:
parent
1efa1442c8
commit
c0b34109d0
@ -116,9 +116,6 @@ public class PeerGroup implements TransactionBroadcaster {
|
|||||||
// Minimum protocol version we will allow ourselves to connect to: require Bloom filtering.
|
// Minimum protocol version we will allow ourselves to connect to: require Bloom filtering.
|
||||||
private volatile int vMinRequiredProtocolVersion = FilteredBlock.MIN_PROTOCOL_VERSION;
|
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. */
|
/** How many milliseconds to wait after receiving a pong before sending another ping. */
|
||||||
public static final long DEFAULT_PING_INTERVAL_MSEC = 2000;
|
public static final long DEFAULT_PING_INTERVAL_MSEC = 2000;
|
||||||
private long pingIntervalMsec = DEFAULT_PING_INTERVAL_MSEC;
|
private long pingIntervalMsec = DEFAULT_PING_INTERVAL_MSEC;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user