Rindle docs and package mapSkip to main content

append_bounded_script_results

Function append_bounded_script_results 

pub fn append_bounded_script_results(
    partial_results: &mut Vec<Value>,
    encoded_result_bytes: &mut usize,
    results: Vec<Value>,
    aggregate_result_byte_limit: usize,
) -> Result<(), BookkeepingError>
Expand description

Append one batch’s results to a script’s partial-result set, charging the shared aggregate byte allowance (separators included) and failing with the public result-cap error on overflow.