class PeerGroup extends AbstractExecutionThreadService implements TransactionBroadcaster {

    @VisibleForTesting
    void waitForJobQueue() {
        final CountDownLatch latch = new CountDownLatch(1);
        Uninterruptibles.putUninterruptibly(jobQueue, new Runnable() {
            @Override
            public void run() {
                latch.countDown();
            }
        });
        Uninterruptibles.awaitUninterruptibly(latch);
    }

    public  PeerGroup(NetworkParameters params);
    public  PeerGroup(NetworkParameters params, @Nullable AbstractBlockChain chain);
    public  PeerGroup(NetworkParameters params, @Nullable AbstractBlockChain chain, ClientConnectionManager connectionManager);

}