Crate kitsune_p2p_bootstrap_client

source ·

Modules§

Enums§

  • The “net” flag / bucket to use when talking to the bootstrap server.

Statics§

  • A cell to hold our local offset for calculating a ‘now’ that is compatible with the remote service. This is much less precise and comprehensive than NTP style calculations. We simply need to ensure that we don’t sign things ‘in the future’ from the perspective of the remote service, and any inaccuracy caused by network latency or similar problems is negligible relative to the expiry times.

Functions§

  • Thin do_api wrapper for the now op.
  • Thick wrapper around do_api for the now op.
  • do_api wrapper around the proxy_list op.
  • do_api wrapper for the put op.
  • do_api wrapper around the random op.