Replies: 4 comments
-
Thank you @zanglang, for submitting this proposal. We are very much open to look at how we can make improvements to support an acceptable margin for the validator offline threshold. Compared to the other cosmos ecosystem chains, we indeed seem to have a slightly stricter offline threshold that we require our validators to meet. Let us provide some more context on how we came to set these initial parameters:
So we are open to discuss how to raise this offline threshold to around ~4H, either by:
Finally, with respect to the DeFi wallet ranking, we are actively working on updating the uptime calculation, to be based on the last x number of blocks signed, instead of blocks since inception. Next to this, we will take into account validators that have been flagged for heavy misconduct. This should yield more fair ranking results, rewarding validators for their recent uptime, such that users can make a good selection when delegating to validators. Hope this helps, |
Beta Was this translation helpful? Give feedback.
-
I would like to take up the topic again, because I think it has been lost. It honors CDC that an RTO of 4h (high availability) should be maintained in this chain. But is this necessary when looking at each individual validator? The service does not generally fail due to the failure of a single validator. The CDC validators are an exception due to their high voting power. These could cause a problem. Everyone should be able to take a break of 3-5 hours. As a father with a full-time job, I personally always notice this on the plane or even while swimming. I always do both with a feeling of disturbance. Even the relationship between allowed downtime and jail time doesn't really fit either. I would even suggest the following:
This would raise possible downtime to ~ 12.5 hours and the subsequent time in jail to 12 hours. |
Beta Was this translation helpful? Give feedback.
-
I agree with 12.5 hours downtime medusanode |
Beta Was this translation helpful? Give feedback.
-
After some feedback from other validators of our chain and the fact that CDC wants an RTO of ~4h and thus high availability, I am changing my recommendation to the following:
Now the |
Beta Was this translation helpful? Give feedback.
-
Currently, a validator node will be jailed if it fails to sign 2500 blocks within a 5000 block window, or approximately 3 1/2 hours given the current average block time of 5.5 seconds. Whilst the Crypto.org chain does not implement downtime slashing, the downtime window may be too short considering that:
a) The majority of other large Cosmos chains have a significantly higher offline thresholds, even for those who are highly dependent on validator security for on-chain infrastructure:
Gravity Bridge - 5000 blocks ~ 8 hours
Cosmos Hub, Juno, Akash - 9500 blocks ~ 16 hours
Secret - 11250 blocks ~ 18 hours
Band - 28500 blocks ~ 21 hours
Axelar - 17500 blocks ~ 29 hours
b) The average block time is expected to continue dropping as more validators adopt the 3s "time_commit" parameter change merged in April 2021. This value was 6.2 seconds in November 2021, and 5.5 seconds at time of writing (source: http://bit.ly/3OGwNrM). Assuming full adoption of the new timeout_commit window brings this value down to ~4 seconds, the downtime window would be ~160 minutes.
c) Even though the chain does not implement downtime slashing, we may observe that due to the longer jailing times and Crypto.com Defi Wallet's ordering algorithms, previously jailed validators tend to be heavily penalized by massively shedding delegations, leading to them falling out of the active set.
Looking at the above points, I would like to propose raising the signed blocks window from 50% of 5000 blocks to at least 10000 blocks, i.e. approximately 7.6 hours.
Beta Was this translation helpful? Give feedback.
All reactions