- addPeerDiscovery
Add addresses from a discovery source to the list of potential peers to connect
to. If max connectio
- <init>
See #PeerGroup(Context,AbstractBlockChain,ClientConnectionManager)
- broadcastTransaction
Given a transaction, sends it un-announced to one peer and then waits for it to
be received back fro
- start
Does a blocking startup.
- startBlockChainDownload
Start downloading the blockchain from the first available peer.
If no peers are currently connected
- addWallet
Link the given wallet to this PeerGroup. This is used for three purposes:
1. So the wallet receive
- setMaxConnections
Adjusts the desired number of connections that we will create to peers. Note
that if there are alrea
- setUserAgent
Sets information that identifies this software to remote nodes. This is a
convenience wrapper for cr
- startAsync
Starts the PeerGroup and begins network activity.
- getConnectedPeers
Returns a newly allocated list containing the currently connected peers. If all
you care about is th
- stop
Does a blocking stop
- addConnectedEventListener
See Peer#addConnectedEventListener(PeerConnectedEventListener)