Skip to content

MAX_ENCODED_OBJECT_SIZE

const MAX_ENCODED_OBJECT_SIZE: 68719476736 = 68719476736

Defined in: packages/filecoin-encryption-envelope/src/constants.ts:58

Largest complete encoded chunked object: envelope plus detached ciphertext, every 16-byte chunk tag included.

Enforcing it needs both lengths, so it belongs to whichever layer holds the total blob size. chunkLayout sees only the ciphertext and can apply it as a necessary condition, no more.