Constant gnunet_sys::GNUNET_ATS_PreferenceKind_GNUNET_ATS_PREFERENCE_BANDWIDTH[][src]

pub const GNUNET_ATS_PreferenceKind_GNUNET_ATS_PREFERENCE_BANDWIDTH: GNUNET_ATS_PreferenceKind = 0;

Change the peer’s bandwidth value (value per byte of bandwidth in the goal function) to the given amount. The argument is followed by a double value giving the desired value (can be negative). Preference changes are forgotten if peers disconnect.