As title. Considering the isUri function in iota.js. The valid examples are as follows:
* udp://[2001:db8:a0b:12f0::1]:14265
* udp://[2001:db8:a0b:12f0::1]
* udp://8.8.8.8:14265
* udp://domain.com
* udp://domain2.com:14265
The isNeighborUri method in IOTA\Util\ValidatorUtil class. All of the valid uris are the neighbor uri.
It seems that they're different. For example, the isUri only supports the tcp or udp.
I want to know isNeighborUri is implemented correctly?
As title. Considering the
isUrifunction iniota.js. The valid examples are as follows:The
isNeighborUrimethod inIOTA\Util\ValidatorUtilclass. All of the valid uris are the neighbor uri.It seems that they're different. For example, the
isUrionly supports thetcporudp.I want to know
isNeighborUriis implemented correctly?