Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 4.29 KB

cip-136.md

File metadata and controls

51 lines (39 loc) · 4.29 KB
CIP No. Title Author Status Type Created Required CIPs (*optional)
136
Increase the PoS Lock/Unlock/Retire Periods
Peilun Li (@peilun-conflux)
Draft
Spec Breaking
2024-05-09
CIP113

Simple Summary

Increase the PoS lock/unlock/retire periods back to the values before CIP113.

Abstract

The PoS lock/unlock/retire period was halved after CIP113 because the round time was halved. This CIP intends to restore the original period length, which is 13 days for locking, 1 day for unlocking, and 3 hours for force retiring, by doubling the number of rounds in a PoS epoch and the number of views for locking/unlocking.

Motivation

The current 1.5h force retire time is too short for node operators. And changing the lock/unlock/retire time is not intended for CIP113.

Specification

The number of rounds in a PoS epoch is changed from 60 to 120, so the time for a PoS epoch is changed back to the original value before CIP113. And the number of epochs needed for force retiring remains 3 continous PoS epochs, so the force retire time is also restored.

The number of views for PoS stake locking and unlocking is doubled after this CIP, which becomes 37440 views for locking and 2880 views for unlocking.

Rationale

It's possible that a simple restart for upgrading the node makes it retire. A 3h period is more user-friendly and does not affect the network safety.

Backwards Compatibility

This is spec breaking.

Test Cases

N/A

Implementation

N/A

Security Considerations

N/A

Copyright

Copyright and related rights waived via CC0.