mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Remove comment
This commit is contained in:
parent
a21d79ad63
commit
3e69edeb9e
1 changed files with 0 additions and 13 deletions
|
@ -843,19 +843,6 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
|
|||
if (!(networkEnvelope instanceof KeepAliveMessage))
|
||||
statistic.updateLastActivityTimestamp();
|
||||
|
||||
// First a seed node gets a message from a peer (PreliminaryDataRequest using
|
||||
// AnonymousMessage interface) which does not have its hidden service
|
||||
// published, so it does not know its address. As the IncomingConnection does not have the
|
||||
// peersNodeAddress set that connection cannot be used for outgoing network_messages until we
|
||||
// get the address set.
|
||||
// At the data update message (DataRequest using SendersNodeAddressMessage interface)
|
||||
// after the HS is published we get the peer's address set.
|
||||
|
||||
// There are only those network_messages used for new connections to a peer:
|
||||
// 1. PreliminaryDataRequest
|
||||
// 2. DataRequest (implements SendersNodeAddressMessage)
|
||||
// 3. GetPeersRequest (implements SendersNodeAddressMessage)
|
||||
// 4. DirectMessage (implements SendersNodeAddressMessage)
|
||||
if (networkEnvelope instanceof SendersNodeAddressMessage) {
|
||||
NodeAddress senderNodeAddress = ((SendersNodeAddressMessage) networkEnvelope).getSenderNodeAddress();
|
||||
checkNotNull(senderNodeAddress,
|
||||
|
|
Loading…
Add table
Reference in a new issue