Interface PeerDiscovery

All Known Implementing Classes:
DnsDiscovery, DnsDiscovery.DnsSeedDiscovery, HttpDiscovery, MultiplexingDiscovery, SeedPeers

public interface PeerDiscovery
A PeerDiscovery object is responsible for finding addresses of other nodes in the Bitcoin P2P network. Note that the addresses returned may or may not be accepting connections.
  • Method Summary

    Modifier and Type
    Method
    Description
    getPeers(long services, long timeoutValue, TimeUnit timeoutUnit)
    Queries the addresses.
    void
    Stops any discovery in progress when we want to shut down quickly.