compile_inactive_ctbnodes_dir_to_ctbnbdl

Function compile_inactive_ctbnodes_dir_to_ctbnbdl 

Source
pub fn compile_inactive_ctbnodes_dir_to_ctbnbdl(
    src_dir: &Path,
    history_dst_dir: &Path,
    framing: CtbnbdlFramingDcs,
) -> Result<usize>
Expand description

Compiles all filtered-out inactive (superseded/retracted) nodes from .ctbnodes chunk files in src_dir into grouped .ctbnbdl bundle files in history_dst_dir (up to MAX_NODES_PER_BUNDLE = 1,000,000 nodes or MAX_BYTES_PER_BUNDLE = 50 MB per bundle).

Returns the number of .ctbnbdl files written or updated in history_dst_dir.