Package org.bitcoinj.net.discovery
Classes that know how to discover peers in the P2P network using DNS or HTTP.
-
Interface Summary Interface Description PeerDiscovery A PeerDiscovery object is responsible for finding addresses of other nodes in the Bitcoin P2P network. -
Class Summary Class Description DnsDiscovery Supports peer discovery through DNS.DnsDiscovery.DnsSeedDiscovery Implements discovery from a single DNS host.HttpDiscovery A class that knows how to read signed sets of seeds over HTTP, using a simple protobuf based protocol.HttpDiscovery.Details MultiplexingDiscovery MultiplexingDiscovery queries multiple PeerDiscovery objects, optionally shuffles their responses and then returns the results, thus selecting randomly between them and reducing the influence of any particular seed.SeedPeers SeedPeers stores a pre-determined list of Bitcoin node addresses. -
Exception Summary Exception Description PeerDiscoveryException