Skip to content
Все главы гайда

Announces and multi-hop paths

How public keys and reachability spread through signed announces, hop by hop.

What an announce carries

What an announce carries

An announce is a signed special packet that shares destination hash and public key information so others can build an outgoing destination. Application-specific data may be included. Aspect names are usually omitted to save bandwidth.

  • Destination hash and public key material
  • Optional application-specific data
  • A random blob so successive announces are unique
  • Ed25519 signature over the announce contents
Signed announce

Origin

Signed announce

Transport hop 1

Record sender, hop count

Transport hop 2

Retransmit after delay

Stop near m = 128

Transport nodes forward announces hop by hop, stopping after m + 1 retransmissions (default m = 128).

Send a plain announce, then one with app data

import RNS

# After creating a SINGLE destination as in the Minimal example:
destination.announce()
# Optional application bytes travel with the signed announce.
destination.announce(app_data=b"hello-mesh")

Попробуйте сами: Step through the flood. Watch how neighbors learn a next hop without learning a full route map.

Hop 0

Origin signs announce (hash, public key, optional app data, random blob).

Шаг 1 из 5