Crate kitsune_p2p_bootstrap_client

Crate kitsune_p2p_bootstrap_client 

Source

Modules§

prelude

Enums§

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

Statics§

NOW_OFFSET_MILLIS
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§

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