Structs

The common AptosNet Transport.

The Connection struct consists of connection metadata and the actual socket for communication.

Unique local identifier for a connection.

Metadata associated with an established and fully upgraded connection.

Common context for performing both inbound and outbound connection upgrades.

Constants

tcp::Transport with Aptos-specific configuration applied.

Currently supported messaging protocol version. TODO: Add ability to support more than one messaging protocol.

A timeout for the connection to open and complete all of the upgrade steps.

Traits

A trait alias for “socket-like” things.

Functions

Upgrade an inbound connection. This means we run a Noise IK handshake for authentication and then negotiate common supported protocols.