Module conflux

Source
Available on crate feature conflux only.
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.