Private #kindPrivate #multiPrivate #originalPrivate #singlePrivate #singleGets a MultiHostName from a Relay instance.
a MultiHostName if the Relay instance can be down cast, otherwise, undefined.
Gets a SingleHostAddr from a Relay instance.
a SingleHostAddr if the Relay instance can be down cast, otherwise, undefined.
Gets a SingleHostName from a Relay instance.
a SingleHostName if the Relay instance can be down cast, otherwise, undefined.
Gets the relay kind.
The relay kind.
Static fromDeserializes the Relay from a CBOR byte array.
The new Relay instance.
The CBOR encoded Relay object.
Static fromCreates a Relay object from the given Core Relay object.
Static newGets a Relay from a MultiHostName instance.
The MultiHostName instance to 'cast' to Relay.
Static newGets a Relay from a SingleHostAddr instance.
The SingleHostAddr instance to 'cast' to Relay.
Static newGets a Relay from a SingleHostName instance.
The SingleHostName instance to 'cast' to Relay.
Generated using TypeDoc
A relay is a type of node that acts as intermediaries between core nodes (which produce blocks) and the wider internet. They help in passing along transactions and blocks, ensuring that data is propagated throughout the network.