In BitcoinJ, there is PeerGroup
and Peer
.
I understand there are differences such as one is related to a group of peers while other is related to a single peer.
When should I use which construct? Are both necessary?
From the code, it seems that we should only be interested in PeerGroup
and not Peer
. Then whats the purpose of Peer
?