Skip to main content

pack_bounded

Function pack_bounded 

Source
pub fn pack_bounded(
    rows: &[Row],
    max_ledgers: usize,
    max_raw: usize,
    opt: Options,
) -> Result<(Vec<u8>, Vec<Stats>), String>
Expand description

Adaptive ledger boundaries; this constrains raw bytes, not total process RSS.