Set the multiaddrs
field on the ENR.
This field is used to store multiaddresses that cannot be stored with the current ENR pre-defined keys.
These can be a multiaddresses that include encapsulation (e.g. wss) or do not use ip4
nor ip6
for the host
address (e.g. dns4
, dnsaddr
, etc)..
If the peer information only contains information that can be represented with the ENR pre-defined keys (ip, tcp, etc) then the usage of setLocationMultiaddr should be preferred. The multiaddresses stored in this field must be location multiaddresses, ie, without a peer id.
Returns an iterable of entries in the map.
Returns an iterable of key, value pairs for every entry in the map.
Returns the full multiaddr from the ENR fields matching the provided
protocol
parameter.
To return full multiaddrs from the multiaddrs
ENR field,
use ENR.getFullMultiaddrs
Returns the full multiaddrs from the multiaddrs
ENR field.
Returns an iterable of keys in the map
Returns an iterable of values in the map
Generated using TypeDoc
Get the
multiaddrs
field from ENR.This field is used to store multiaddresses that cannot be stored with the current ENR pre-defined keys. These can be a multiaddresses that include encapsulation (e.g. wss) or do not use
ip4
norip6
for the host address (e.g.dns4
,dnsaddr
, etc)..If the peer information only contains information that can be represented with the ENR pre-defined keys (ip, tcp, etc) then the usage of getLocationMultiaddr should be preferred.
The multiaddresses stored in this field are expected to be location multiaddresses, ie, peer id less.