Browse Source

clarify method doc

cl-refactor
subtly 10 years ago
parent
commit
14e83ffb28
  1. 2
      libp2p/Common.h

2
libp2p/Common.h

@ -175,7 +175,7 @@ struct Node
virtual NodeId const& address() const { return id; }
virtual Public const& publicKey() const { return id; }
/// Replace TCP address with UDP address if TCP addr is private and UDP is public. Temp. until protocol update.
/// Adopt UDP address for TCP if TCP isn't public and UDP is. (to be removed when protocol is updated for nat)
void cullEndpoint();
NodeId id;

Loading…
Cancel
Save