seamless
seamless copied to clipboard
Integration with IPFS
- Each Seamless buffer will have one "canonical CID" (v1, sha3-256) which can be automatically computed from the checksum with no chunking (infinite size chunker). Check with "ipfs add" if this is correct. Also check if IPFS tools are smart enough to find the CID no matter the base encoding of the hash.
- In a different server (fairserver? ) maintain a checksum-to-list-of-CIDs mapping. These will be "non-canonical CIDs" (arbitrary hash algos, chunkers etc).
- If the buffer is available (not just the checksum), IPFS can be contacted directly (calculate CID with default chunker params).
- Finally, integrate download-from-IPFS into seamless, either as a bufferserver drop-in replacement and/or in seamless.fair
- Automatic upload to IPFS is a separate problem (separate tools?).
- Supporting directories (DeepFolderCell, FolderCell) will be problematic, look into that. In general, use Seamless deep cell checksum index buffers instead of the IPFS DAGs (unless convincing argument otherwise).
It seems that IPFS has a 1-2 MiB chunk size max