Limit the renter funds for new contracts without data #840
Replies: 2 comments
-
|
We do not want to restrict contract formations on the host end too much. There are already two major protections in place to protect hosts from abuse. The first is max collateral, meaning the renter cannot lock more than a specific value into a contract. The second is the collateral multiplier. Hosts will reject contracts unless the renter also locks enough allowance to justify the collateral. By default the renter needs to lock 1 SC for every 2 SC on the host end. The ratios look well within tolerance for both of your contracts, even favoring the host slightly, and the amounts locked are relatively low. In terms of how V2 solved most of the excessive locking problems. There will always be some risk of unused locked funds on the host end, but the renter is also locking SC away. Adding further restrictions adds additional complexity. We may revisit this in the future, but we are currently very happy with where hosts are right now in terms of collateral locking efficiency. A couple of clarifications on the columns:
|
Beta Was this translation helpful? Give feedback.
-
|
Yes, I thought the problem is bigger because in V1 I had lots and lots of zero data contracts locking lots of coins. But that doesn't seem to be the case anymore - I have only these two in all 4 hosts. Anyway, it looks you have given it enough thought. I still don't get the 'Remaining renter funds' vs 'Account funding' difference though. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Usually (correct me if I'm wrong) when renter starts an upload and contracts are created it creates few backup contracts that will not be used unless something breaks. These contracts ideally stay empty. Weather or not I got it right it's a fact that there are empty contracts with amounts 60-80SC which lock at least double that according to collateral setting:


I don't fully understand the difference between account funding and remaining renter funds columns, but I think the limit I set in config is for account funding and the locked collateral is calculated from renter funds (again - correct me). As you see locked funds are 75 and 82 respectively in my two examples.
My suggestion (or you come up with better one) is to make 'Maximum balance' from config also valid for remaining renter funds the for contracts that never had any data. Once half of that - 5 SC is spent on data/bandwidth you can refresh the contract with the limits as before the change. The idea is to reduce SC locked in contracts that may not be used. That limit the locked funds for both renter and hostd (correct me).
I see lots of no-data contracts that have remaining renter funds = 10SC so maybe that's already implemented, but then what are the no-data contracts with >10SC? leftover (renewed) from V1? I remember there were much more no-data contracts that locked a lot of funds back in v1.
Beta Was this translation helpful? Give feedback.
All reactions