Comment on page
Storage proving, known as Proof-of-Spacetime (“PoSt”), is the mechanism that the Filecoin blockchain uses to validate that storage providers are continuously providing the storage they claim. Storage providers earn block rewards each time they successfully answer a PoSt challenge.
As a storage provider, you must preserve the data for the duration of the deal, which are on-chain agreements between a client and a storage provider. As of March 2023, deals must have a minimum duration of 180 days, and maximum duration of 540 days. The latter value was chosen to balance long deal length with cryptographic security. Storage providers must be able to continuously prove the availability and integrity of the data they are storing. Every storage sector of 32 GiB or 64 GiB gets verified once in each 24 hour period. This period is called a proving period. Every proving period of 24 hours is broken down into a series of 30 minute, non-overlapping deadlines. This means there are 48 deadlines per day. Storage sectors are grouped in a partition, and assigned to a proving deadline. All storage sectors in a given partition will always be verified during the same deadline.
The cryptographic challenge for storage proving is called Window Proof-of-Spacetime (WindowPoSt). Storage providers have a deadline of 30 minutes to respond to this WindowPoSt challenge via a message on the blockchain containing a zk-SNARK proof of the verified sector. Failure to submit this proof within the 30 minute deadline, or failure to submit it at all, results in slashing. Slashing means a portion of the collateral will be forfeited to the f099 burn address and the storage power of the storage provider gets reduced. Slashing is a way to penalize storage providers who fail to meet the agreed upon standards of storage.