tor-proto,tor-netdir: add flow control consensus parameters
This adds the flow control consensus parameters to NetParameters
and passes them through the code to XonXoffFlowCtrl
. They aren't used yet in XonXoffFlowCtrl
, but they are now accessible.
@nickm These flow control parameters are in a FlowCtrlParameters
, which I've added to CircParameters
(and by extension HopSettings
). Since you've been thinking about CircParameters
and HopSettings
recently, let me know if you think these flow control parameters should go somewhere else instead. I've added my reasoning for why I think this is a good place for them in c4f14155.
Edited by opara