Zero Termination Fees for CC Sectors #972
Replies: 4 comments 27 replies
-
A fair proposal. I support this, aside from zero termination fee for CC sectors, I also advocate for waiving the fault penalty for CC sectors. To further this, I am particularly keen to simplify the layer 1 protocol and overhaul the QAP design. This involves dividing the current consensus into a combination of PoPW (rawbytes storage) and PoS (collateral), as separate entities, akin to the model outlined in #442. |
Beta Was this translation helpful? Give feedback.
-
Miners in Bitcoin can come and go because all they're doing is sequencing messages. On the other hand, in Filecoin, storage providers are providing long-term storage for the network and are generally expected to stick around and be online to provide that storage. My concern is that this proposal (as-is) makes storing user data less attractive when compared to CC sectors as storing user data is now strictly riskier and less flexible. CC sectors are only rewarded at all because they demonstrate committed capacity to the network. They're demonstrating that the SP could use this capacity to store user data. A middle ground might be a 0 or significantly reduced termination fee for non-faulty CC sectors, with some kind of ramp down delay. That is:
That way these sectors can still proved that the SP can reliably store data. The one missing piece here is a demonstration of long-term commitment, which is important for storing user data. One solution there is to have a minimum sector duration where the sector must live for, for example, six months before it can have this zero or low termination fee. Additionally, I'd like to explore other ramp down solutions such as selling sectors (even sectors with user data) to other SPs. |
Beta Was this translation helpful? Give feedback.
-
Thanks for beginning this discussion. I'm broadly supportive and would like to help figure out the details. I think we want to reach a scheme that's as simple as possible without breaking anything significant. What's a CC sector?For clarity, I am taking "CC sector" to mean a sector that is provably empty of any data. We can prove this contents by inspecting the data commitment (unsealed CID). After FIP-0076, CC is not the same as "sector without deals" or "sector with FIL+ that expired". The only thing we can simply and reliably test on-chain is "commits to zero data". Once we implement re-snap, it will be possible to transition a sector from "has some data" to "has zero data", but note that that's not possible today. What fee is reasonable?I agree with the motivations to reduce/remove termination fees. However I don't think exactly zero is the right number. As I surveyed in #691 (comment), I think there are some reasonable motivations for a non-zero offboarding fee. The most reasonable is to incentivize some stability of pledge (or storage, whichever you want to think secures the network). Complete freedom to add/remove network power at any rate at any time ("flash") makes it unreasonably difficult to ensure incentive alignment. Almost all other chains, and on-chain applications, except Bitcoin limit the rate of on/off-boarding of pledge ("churn"). They usually do this with a lockup delay, rather than a fee. Lockups are an awkward fit for Filecoin sectors, though, because if an SP has lost the ability or desire to prove a sector, we can't enforce that they keep doing it anyway, whereas a proof-of-stake chain can enforce a token lockup period.
I would note that actually delaying the release of pledge might have concrete security benefits over a 1% fee, the cost to an attacker with locked pledge being >>1%. I could easily be convinced the lockup is better, and worth the complexity. And maybe a delay is preferable to a fee to the good-faith SP operators anyway? Further simplificationsIf we touch anything related to termination fees, I think we should take the opportunity to make other easy-to-reach simplifications too. We can make the fees for all sectors (not just CC) much simpler, much more efficient, and remove onboarding-epoch bias. Following the design goals sketched here, I think we should:
This would permit us to remove 20% of active chain state and some code, and make offboarding costs more uniform for all SPs. (Note that ConsensusPledge does depend on onboarding epoch. I think we should resolve that separately, e.g. #734 or something larger) |
Beta Was this translation helpful? Give feedback.
-
Summary
Set the termination fee of CC sectors to zero.
Motivation
Encourage new miners to try Filecoin (lower barrier to entry)
Decrease risk for all miners (pledge becomes a fully liquid asset)
Rationale
Other chains allow miners to join and leave at will.
Duration requirements handicap Filecoin in the competition to attract hardware/capital without providing any benefits to compensate.
References
Discussion 691
Discussion 712
Beta Was this translation helpful? Give feedback.
All reactions