profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/andrewzhao87/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

andrewzhao87/FIPs 0

The Filecoin Improvement Proposal repository

andrewzhao87/lotus 0

Implementation of the Filecoin protocol, written in Go

startedMatrixStorageTech2021/easynft

started time in a month

issue openedfilecoin-project/FIPs

FIP Proposal: Client can make an off-chain deal and miner can use CC sectors to storage data without resealing

Simple Summary

Client can make an off-chain deal to miner. The miner will use existing or new CC sector to storage client's real data. If client want its off-chain data on chain, miner should upgrade the CC sectors to Regular Sectors with resealing.

Problem

Right now, the total network power is more than 6EiB,but the real storage is just only 15PB(https://storage.filecoin.io/). There are a lot of CC sectors with the zero deal. The miner should have an easy way to use the existing CC sectors to store the real data from the clients, no more resealing. So that it can solve the problem about the idle hardware equipment.

The currently method is that the pledged sector can be replaced with a new sector containing deals.(https://docs.filecoin.io/mine/lotus/sector-pledging/#upgrading-pledged-sectors). However, it requires the deal to publish and new sector to seal. It will take up more resources of the miners and also occupy more resources of the network. Client storage costs will also increase because of it.

Proposed Solution

The client can choose whether to publish its own data and deal on chain or not.

  • If the client make the on chain deal, the miner can store it in a new sector or upgrade the CC sector by 'mark-for-upgrade'.
  • If the client make the off chain deal, there are not publishStorageDeals message, sealing and dealID etc. The client's data will be stored in the CC sector of the miner. At the same time, miners need to save DealCid and PieceCID. SectorPreCommitInfo also needs to be changed or add some data fields. (we also see some similar proposals at #57 #89)

Storing the off-chain data will save the gas fee, which is so expensive when the base fee is high especially. Like Verified data, the miners can provide the client another lower storage price than on-chain mode. The clients also can download files from the miner by the file CID.

If the client needs, it can change its off-chain deal on chain. The miner will migrate the data into the regular sector.

Especially, when the client finds that the miner do not provide services any more, it can create an arbitration or appeal. If the miner lost the data, the miner needs to pay the customer compensation for the loss of data. Meanwhile, the power and pledge will also be slashed. (Perhaps we can discuss another FIP in detail)

created time in 2 months

fork andrewzhao87/FIPs

The Filecoin Improvement Proposal repository

fork in 2 months

startedfilecoin-project/FIPs

started time in 2 months