Expand description
Crawling the network for more peer addresses.
The crawler asks live Responded peers for more peers, validates the
responses, and sends the new addresses to the address book. Candidate
selection for outbound connections lives in the
parent module.
Structsยง
- Crawl
Fanout ๐ - A service that crawls the network for more peer addresses.
Functionsยง
- crawl_
fanout ๐ - Crawl the network for more peer addresses, limiting the fanout to
fanout_limit. - crawl_
once ๐ - Crawl the network for more peer addresses, limiting the fanout to
fanout_limitif it isSome. - limit_
last_ ๐seen_ times - Ensure all reported
last_seentimes are less than or equal tolast_seen_limit. - send_
addrs ๐ - Add new
addrsto the address book. - validate_
addrs ๐ - Check new
addrsbefore adding them to the address book.
Type Aliasesยง
- Crawl
Service ๐ - The service that crawls the network for more peer addresses.