Constant gnunet_sys::GNUNET_ATS_PreferenceKind_GNUNET_ATS_PREFERENCE_LATENCY[][src]

pub const GNUNET_ATS_PreferenceKind_GNUNET_ATS_PREFERENCE_LATENCY: GNUNET_ATS_PreferenceKind = 1;

Change the peer’s latency value to the given amount. The argument is followed by a double value giving the desired value (can be negative). The absolute score in the goal function is the inverse of the latency in microseconds (minimum: 1 microsecond) multiplied by the latency preferences.