Sealing Pipeline
The sealing pipeline in Filecoin is a sophisticated, multi-stage process essential for storage providers to encrypt and commit data to the network securely. It ensures that data is stored securely and verifiable through cryptographic proofs confirming its continued existence and integrity over time. The sealing process comprises several phases, each with specific hardware requirements and performance considerations.
Section Table
This initial phase involves taking the raw data in CAR-file format and preparing it for the following cryptographic processes. Data is written to the sealing scratch space, preparing for the next phase, PreCommit 1.
This phase is crucial for transforming the raw data into a cryptographically secure format through the Proof-of-Replication (PoRep) process. The data undergoes SDR (Seal Data Replica) encoding, creating multiple data layers and enhancing security.
Validates the encoding done by PC1 using the Poseidon hashing algorithm to create a Merkle Tree DAG of the encoded data. It transfers the entire scratch space prepared in PC1 to PC2.
The blockchain mandates a built-in waiting period to enhance security measures between the sealing and committing phases. The system waits for several blockchain epochs before proceeding to the next step, ensuring no premature commitments.
An intermediate phase that performs the necessary preparations for generating a zk-SNARK proof will later be used to prove that the data has been correctly replicated and stored.
This is the final phase in the sealing pipeline where the zk-SNARK proof is generated. This proof certifies that the data has been correctly replicated and stored following Filecoin's protocol.
It involves submitting the zk-SNARK proof to the Filecoin blockchain, verifying and recording it. This confirms the storage provider's proof of data replication and storage, which secures their storage deal rewards and maintains network integrity.
The sealing pipeline is a complex multi-step process with different requirements according to the execution stage of the PoRep. Knowing them is essential for designing properly the storage provision in your nodes. Let's explore every step, their specifications, and consequences for storage providers!
Last updated
Was this helpful?