package
0.0.0-20250211062412-2dddd5ca88cd
Repository: https://github.com/ton-blockchain/adnl-tunnel.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BindOutInstruction allocate external address and port on this node, it will be used by initiator to send and receive ADNL packets from outside.
BuildRouteInstruction remember route to optimize further packets.
CacheInstruction save instruction to cache, to reduce next packets size.
No description provided by the author
DeliverInitiatorInstruction used to identify that node is the initiator destination and payload should be processed on this server, to decrypt shared key of public sender + private tunnel should be used.
DeliverInstruction used to identify that node is the destination and payload should be processed on this server, to decrypt shared key of private receiver + public tunnel should be used.
No description provided by the author
No description provided by the author
EncryptedMessage tunneled message to decrypt and process, after decryption contains InstructionsContainer.
No description provided by the author
No description provided by the author
No description provided by the author
InstructionsContainer list of instructions to process on this node, order is matters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PaymentInstruction attached virtual payment channel state is used to get money for traffic.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReportStatsInstruction is used to get network statistics from some node, for example to calc packet loss or align payment amount.
No description provided by the author
No description provided by the author
RouteInstruction routes other encrypted instructions and payload to next node saved by BuildRouteInstruction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SendOutInstruction used to send UDP packet by server which already bind port using BindOutInstruction.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author