diff --git a/core/src/main/java/org/bitcoinj/core/PeerGroup.java b/core/src/main/java/org/bitcoinj/core/PeerGroup.java index 6d86dbd1..1da3d22c 100644 --- a/core/src/main/java/org/bitcoinj/core/PeerGroup.java +++ b/core/src/main/java/org/bitcoinj/core/PeerGroup.java @@ -1074,12 +1074,6 @@ public class PeerGroup implements TransactionBroadcaster { Futures.getUnchecked(startAsync()); } - /** Can just use start() for a blocking start here instead of startAsync/awaitRunning: PeerGroup is no longer a Guava service. */ - @Deprecated - public void awaitRunning() { - waitForJobQueue(); - } - public ListenableFuture stopAsync() { checkState(vRunning); vRunning = false; @@ -1116,16 +1110,6 @@ public class PeerGroup implements TransactionBroadcaster { } } - /** Can just use stop() here instead of stopAsync/awaitTerminated: PeerGroup is no longer a Guava service. */ - @Deprecated - public void awaitTerminated() { - try { - executor.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS); - } catch (InterruptedException e) { - throw new RuntimeException(e); - } - } - /** *
Link the given wallet to this PeerGroup. This is used for three purposes:
*