fuel_core_compression::decompress

Function decompress

source
pub async fn decompress<D>(
    config: Config,
    db: D,
    block: VersionedCompressedBlock,
) -> Result<PartialFuelBlock>
where D: DecompressDb,
Expand description

This must be called for all decompressed blocks in sequence, otherwise the result will be garbage.