This article was originally written by IPFS Force Zone
In the Filecoin network, submitting WindowPoSt messages to the chain is the main way to verify whether storage miners continue to help users store data. Storage miners also need to continue to complete WindowPoSt proofs to ensure the stability of their computing power. However, when the basic gas fee rises due to network congestion, verifying the submitted proofs will become very expensive. For small miners, the gas fee required for WindowPoSt will far exceed their expected returns. In order to ensure that the cost of sending messages is acceptable to miners, a number of FIPs (FIPs for Improvement) have been proposed to reduce gas fees since the launch of the Filecoin mainnet. These include: FIP-5 to remove unnecessary information, FIP-7 to reduce IPLD operations and serialization size, FIP-8 to batch process ProveCommitSector, and FIP-9 to reduce the basic fee of SubmitWindowedPoSt. And just this week, a new optimization proposal FIP-10 was proposed to reduce the pressure on miners' gas fees. The optimization method of FIP-10 is to "optimistically" accept unverified WindowPoSt proofs on the chain, but allow these proofs to be questioned by off-chain reviewers. The specific method of FIP-10: When a miner proves that he has been storing data continuously, he submits SubmitWindowedPoSt. The Filecoin network chooses to trust the miner and optimistically accepts and records it without verification. In the next cycle, a third-party questioner can question the proof submitted by the miner, that is, introduce the DisputeWindowedPoSt method. If the question is successful, it means that the proof submitted by the miner is problematic, and the corresponding sector is also wrong. As a result, the miner will accept the penalty of the relevant computing power (until the correct WindowPoSt is submitted), and a corresponding proportion of the expected block reward will be deducted from the sector with the wrong proof. Reward and Penalty Mechanism: When the questioner successfully finds a problem, each sector in the partition that remains active due to the proof submitted by the miner will be punished with IPF (Invalid Proof Fee) plus a FlatFee fixed fee. All sectors with incorrect proofs are marked as problematic, and the questioner will receive a DipsuteReward. The current parameters set by IPF are 5.51 BR (BR = expected block reward for each sector within 24 hours); DipsuteReward is 4 FIL; FlatFee: 20 FIL. FIP-10 also describes that this solution only proposes an improvement direction, and there are still many details that need to be optimized and implemented. The corresponding alternative solutions also include: WindowPoSt exclusive channel: This is an on-chain message verification mechanism, so it does not save on-chain resources in essence, but improves the utilization of on-chain resources by building an exclusive channel. WindowPoSt batch verification: WindowPoSt performs batch verification processing on WindowPoSt, just like the ProveCommit batch processing proposed in FIP-8. Since FIP-10 is a proposal that will have major changes at the consensus level, the realization and implementation of this proposal will still require some time for discussion. However, we believe that the current problems of the Filecoin network will be gradually optimized, and ecological applications will become more prosperous. https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0010.md
|