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.kits |
High level wrapper APIs around the bitcoinj building blocks.
|
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 |
---|---|
void |
PeerGroup.addPeerDiscovery(PeerDiscovery peerDiscovery)
Add addresses from a discovery source to the list of potential peers to connect to.
|
Modifier and Type | Field and Description |
---|---|
protected PeerDiscovery |
WalletAppKit.discovery |
Modifier and Type | Method and Description |
---|---|
WalletAppKit |
WalletAppKit.setDiscovery(PeerDiscovery discovery)
Sets the peer discovery class to use.
|
Modifier and Type | Class and Description |
---|---|
class |
DnsDiscovery
Supports peer discovery through DNS.
|
static class |
DnsDiscovery.DnsSeedDiscovery
Implements discovery from a single DNS host.
|
class |
HttpDiscovery
A class that knows how to read signed sets of seeds over HTTP, using a simple protobuf based protocol.
|
class |
MultiplexingDiscovery
MultiplexingDiscovery queries multiple PeerDiscovery objects, shuffles their responses and then returns the results,
thus selecting randomly between them and reducing the influence of any particular seed.
|
class |
SeedPeers
SeedPeers stores a pre-determined list of Bitcoin node addresses.
|
class |
TorDiscovery
Supports peer discovery through Tor.
|
Modifier and Type | Field and Description |
---|---|
protected List<PeerDiscovery> |
MultiplexingDiscovery.seeds |
Constructor and Description |
---|
MultiplexingDiscovery(NetworkParameters params,
List<PeerDiscovery> seeds)
Will query the given seeds in parallel before producing a merged response.
|
Copyright © 2016. All rights reserved.