Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
org.bitcoinj.net.discovery |
Classes that know how to discover peers in the P2P network using DNS, IRC or DNS via Tor (orchid).
|
Modifier and Type | Method and Description |
---|---|
protected int |
PeerGroup.discoverPeers()
Returns number of discovered peers.
|
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
SeedPeers.getPeer()
Acts as an iterator, returning the address of each node in the list sequentially.
|
InetSocketAddress[] |
PeerDiscovery.getPeers(long services,
long timeoutValue,
TimeUnit timeoutUnit)
Returns an array of addresses.
|
InetSocketAddress[] |
SeedPeers.getPeers(long services,
long timeoutValue,
TimeUnit timeoutUnit)
Returns an array containing all the Bitcoin nodes within the list.
|
InetSocketAddress[] |
TorDiscovery.getPeers(long services,
long timeoutValue,
TimeUnit timeoutUnit) |
InetSocketAddress[] |
DnsDiscovery.DnsSeedDiscovery.getPeers(long services,
long timeoutValue,
TimeUnit timeoutUnit) |
InetSocketAddress[] |
MultiplexingDiscovery.getPeers(long services,
long timeoutValue,
TimeUnit timeoutUnit) |
InetSocketAddress[] |
HttpDiscovery.getPeers(long services,
long timeoutValue,
TimeUnit timeoutUnit) |
InetSocketAddress[] |
HttpDiscovery.protoToAddrs(PeerSeedProtos.SignedPeerSeeds proto) |
Copyright © 2016. All rights reserved.