Add Cost opportunity for New Miner Creation #780
Replies: 7 comments 13 replies
-
I'm not sure how much of a real problem this is. Your statistics look believable, but the question is how much of an actual cost is this to the network or its participants? It's probably not zero, but could be quite small. Nevertheless, both your proposed ideas appear simple to implement. The locking approach will require cron processing of their vesting table, but I think it's safe to assume only a small number of such miners that wouldn't require cron anyway to process deadlines. A few suggestions:
|
Beta Was this translation helpful? Give feedback.
-
So, I'd love to see a FIP presenting a way to make storage fees independent from the regular base-fee, changing based on expected state growth instead of compute demand. That should solve the main issue here (also solving it for EVM actors) without adding a hard-coded fee for miner actors. |
Beta Was this translation helpful? Give feedback.
-
The damage from creating miner actors is only noticeable when it happens both fast and in large amounts. So I think a very simple method would be requiring the value in creatingMiner message to be like 500FIL. We do not even need to lock this fund (thus will not need any cron tasks). Of course, attackers may withdraw the fund and attack again. But this mechanism would greatly slow them down and they will need a lot of funds to attack on a large scale at a time. |
Beta Was this translation helpful? Give feedback.
-
Id like to point out this was a real issue occurred in March 2021 where someone spammed the network with thousands of thousand of
The recent profiling work @ZenGround0 has been working on has confirmed that the cron cost for truly empty actors is minimum (to 0), while miners with small amounts of sectors cost us a lot in terms of overhead. That being said, adding opportunity cost for miner creation could potentially prevent unstable network base fee and longer term chain overhead. |
Beta Was this translation helpful? Give feedback.
-
@remakeZK I personally think opportunity 2 is slightly better as 1 requires new cron job, and avoiding cron overhead seems worth taking into consideration for network longer term stableness as it scales. |
Beta Was this translation helpful? Give feedback.
-
I think another reason why folks were doing this was to get a preferred deadline schedule for the actor to minimize the human operational/maintenance cost. With https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0070.md - this "use case" should be resolved tho. |
Beta Was this translation helpful? Give feedback.
-
With the recent discussion in #972 on enabling certain SPs to join and leave the network easier - this proposal seems to have a conflicted design goal for the network. Should CC miners also pay and lock this fee? |
Beta Was this translation helpful? Give feedback.
-
This is a pre-FIP for discussion.
Simple Summary
Abstract
By imposing a cost, this proposal helps prevent the spamming of creating miner IDs in order to:
1) lighten the network chain storage burden
2)save wasted resources and future increment of gas that caused by wasted storage
3)avoid the malicious attacks achieved by creating a large number of accounts to cause network congestion and unstable gas fees
Problem Motivation
By August 2023, according to the statistics of Filscan, there are 601,131 Miner IDs have been built with only 4,862 actives. The actual ID usage counts for merely 0.8% and the abuse of ID creation trend continues. The actual ID usage only counts 3.7% for the recent two months (125 Miner IDs are active out of 3,254 newly created).
Many users randomly create numerous nodes just to get preferred IDs, wasting resources and burdening the network for no purpose. Moreover, those wasted nodes occupy the storage of the network; with time elapsed, the waste resource rate will increase, along with increasing the future gas price because of those unnecessary storages of the network. Furthermore, there is a risk of exposure to potential attacks by creating numerous accounts, causing network congestion.
Specification
In creating a new node,
There are two options:
Design Rationale
Adding an opportunity cost will prevent such spammy behavior; moreover,
Depositing fees as locked rewards does not incur actual costs but will occupy funds and bring opportunity costs. Users need to weigh the opportunity cost of locking funds for 180 days per new node. Also, the more nodes created, the more funds need to be locked. This can prevent users from abusing node creation. Additionally, this mechanism helps determine whether each new node will be fully utilized since idle miners will waste locked funds in vain.
Burning fees align network incentives by imposing real costs for usage and decreasing token supply circulation, potentially increasing FIL price.
Backward Compatibility
The charging fee of node creation might increase the entry barrier of new SPs, but 10FIL is a small amount in terms of initiating. Moreover, the proposed first solution of converting fees to 180-day locked rewards adds no real capital cost, only opportunity cost. This encourages on-demand account creation, as users will create accounts based on actual needs, ensuring practical use of each new account.
Beta Was this translation helpful? Give feedback.
All reactions