Module protocol_seed

Module protocol_seed 

Source
Expand description

Seed server protocol. Seed server is used when connecting to the network for the first time. Returns a list of peers that nodes can connect to.

To start the seed protocol, we create a subscription to the address message, and send our address to the seed server. Then we send a get-address message and receive an address message. We add these addresses to our internal store.

Structs§

ProtocolSeed
Implements the seed protocol

Constants§

PROTO_NAME 🔒