@ Override public InetSocketAddress [ ] getPeers ( long services , long timeoutValue , TimeUnit timeoutUnit ) throws PeerDiscoveryException { if ( services != 0 ) throw new PeerDiscoveryException ( "Pre-determined peers cannot be filtered by services: " + services ) ; try { return allPeers ( ) ; } catch ( UnknownHostException e ) { throw new PeerDiscoveryException ( e ) ; } }
Returns an array containing all the Bitcoin nodes within the list .