Settings
Help

Module conflux

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.