karyon_p2p::routing_table

Module bucket

Source

Structs§

  • A Bucket represents a group of entries in the routing table.
  • A BucketEntry represents a peer in the routing table.

Constants§

  • The number of entries that can be stored within a single bucket.
  • The entry is connected.
  • The entry is disconnected. This will increase the failure counter.
  • The entry is incompatible. This entry will not contribute to an increase in failure attempts, instead, it will persist in the routing table for the lookup process and will only be removed in the presence of a new entry.
  • The entry is ready to reconnect, meaning it has either been added and has no connection attempts, or it has been refreshed.
  • The entry is unreachable. This will increase the failure counter.
  • The entry is unstable. This will increase the failure counter.

Type Aliases§