Structs§

  • Data about peers we know and whether we should connect to them or they to us. For the former case also keeps the peers’ addresses.

Functions§

  • Whether we should call the remote or the other way around. We xor the peer ids and based on the parity of the sum of bits of the result decide whether the caller should be the smaller or greated lexicographically. They are never equal, because cryptography.