pub fn train_dictionary( samples: &[Vec<u8>], size: usize, ) -> Result<Vec<u8>, String>
A zstd dictionary trained on sample ledgers.