Skip to main content

Module conflux

Module conflux 

Source
Expand description

Encoding and decoding for relay messages related to conflux.

Macrosยง

impl_link_wrapper ๐Ÿ”’
Helper macro for implementing wrapper types over Link

Structsยง

ConfluxLink
A CONFLUX_LINK message.
ConfluxLinked
A CONFLUX_LINKED message.
ConfluxLinkedAck
A CONFLUX_LINKED_ACK message.
ConfluxSwitch
A CONFLUX_SWITCH message, sent from a sending endpoint when switching leg in an already linked circuit construction.
Link ๐Ÿ”’
A message body shared by ConfluxLink and ConfluxLinked.
V1DesiredUx
The UX properties specified in a V1LinkPayload.
V1LinkPayload
The v1 payload of a v1 ConfluxLink or ConfluxLinked message.
V1Nonce
The nonce type of a V1LinkPayload.

Constantsยง

CONFLUX_LINK_VERSION ๐Ÿ”’
The supported CONFLUX_LINK version.
V1_LINK_NONCE_LEN ๐Ÿ”’
The length of the nonce from a v1 CONFLUX_LINK message, in bytes.