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

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

Functions

version_message(versions, network)

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

Version numbers must be unique and appear in ascending order.