bittensor.utils.axon_utils#

Functions#

allowed_nonce_window_ns(current_time_ns, synapse_timeout)

calculate_diff_seconds(current_time, synapse_timeout, ...)

Module Contents#

bittensor.utils.axon_utils.allowed_nonce_window_ns(current_time_ns, synapse_timeout)[source]#
Parameters:
  • current_time_ns (int)

  • synapse_timeout (Optional[float])

bittensor.utils.axon_utils.calculate_diff_seconds(current_time, synapse_timeout, synapse_nonce)[source]#
Parameters:
  • current_time (int)

  • synapse_timeout (Optional[float])

  • synapse_nonce (int)