@tabcat/zzzync
    Preparing search index...

    Interface CarLimits

    Size limits for a received CAR. Every field is required: the CAR format specifies no maximum of any kind, so there is no default zzzync could pick that would not be invented. Pass Infinity for a cap you genuinely do not want, so that "no limit" is something the call site says rather than something it inherits by omission.

    maxCarSectionSize and maxCarHeaderSize go to @ipld/car, which checks them against a declared length before reading the body, so an over-cap claim costs nothing. Both must be non-negative safe integers; @ipld/car rejects Infinity, so use its own generous defaults there rather than trying to disable them.

    interface CarLimits {
        maxBlockCount: number;
        maxByteLength: number;
        maxCarHeaderSize: number;
        maxCarSectionSize: number;
    }
    Index
    maxBlockCount: number

    Total CAR blocks accepted.

    maxByteLength: number

    Total raw bytes accepted, CAR framing included.

    maxCarHeaderSize: number

    Largest CAR header. A one-root header is around 58 bytes. Same @ipld/car restriction as maxCarSectionSize: no Infinity. To not cap this, pass its own default of 32 * 1024 * 1024.

    maxCarSectionSize: number

    Largest CAR section: block bytes plus their CID. Goes to @ipld/car, which requires a non-negative safe integer and throws a TypeError on Infinity. To not cap this, pass its own default of 8 * 1024 * 1024.