View Source Xander.Handshake.Proposal (Xander v0.2.0)

Builds handshake messages for node-to-client communication.

Summary

Functions

Version numbers must be unique and appear in ascending order.

Types

network_type()

@type network_type() :: :mainnet | :preprod | :preview | :sanchonet | :yaci_devkit

Functions

version_message(versions, network)

@spec version_message([integer()], network_type()) :: binary()

Version numbers must be unique and appear in ascending order.