info_extra_weight

Function info_extra_weight 

Source
pub fn info_extra_weight(req: &InfoRequest, json: &Value) -> u32
Expand description

Extra weight for heavy Info endpoints: +1 per 20 (most), +1 per 60 for candleSnapshot. We count the largest array in the response (robust to schema variants).