mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/enode: update code comment
Since commit b90cdbaa79 it's possible to specify enode Url using domain name, but under code comment it still mentionned that only IP Address is allow.
This commit is contained in:
parent
38aab0aa83
commit
9cd79a80ee
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ func MustParseV4(rawurl string) *Node {
|
|||
//
|
||||
// For complete nodes, the node ID is encoded in the username portion
|
||||
// of the URL, separated from the host by an @ sign. The hostname can
|
||||
// only be given as an IP address, DNS domain names are not allowed.
|
||||
// only be given as an IP addressor or using DNS domain name.
|
||||
// The port in the host name section is the TCP listening port. If the
|
||||
// TCP and UDP (discovery) ports differ, the UDP port is specified as
|
||||
// query parameter "discport".
|
||||
|
|
|
|||
Loading…
Reference in a new issue