Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.net.discovery |
Modifier and Type | Method and Description |
---|---|
protected void |
PeerGroup.connectToAnyPeer()
Picks a peer from discovery and connects to it.
|
protected void |
PeerGroup.discoverPeers() |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
SeedPeers.getPeer()
Acts as an iterator, returning the address of each node in the list sequentially.
|
InetSocketAddress[] |
SeedPeers.getPeers(long timeoutValue,
TimeUnit timeoutUnit)
Returns an array containing all the Bitcoin nodes within the list.
|
InetSocketAddress[] |
PeerDiscovery.getPeers(long timeoutValue,
TimeUnit timeoutUnit)
Returns an array of addresses.
|
InetSocketAddress[] |
IrcDiscovery.getPeers(long timeoutValue,
TimeUnit timeoutUnit)
Deprecated.
Returns a list of peers that were found in the IRC channel.
|
InetSocketAddress[] |
DnsDiscovery.getPeers(long timeoutValue,
TimeUnit timeoutUnit) |
Copyright © 2014. All rights reserved.