-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct bank::unix_timestamp() drift #9874
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The timestamp returned by
bank::unix_timestamp()
ends up in the clock sysvar and is used for time-based stake account lockouts. However it's based on a theoretical slots-per-second instead of reality, so it's very likely quite inaccurate already. This could post a problem for the month 9 stake unlocks scheduled for Jan 7, 2021.Steps:
Also note this comment that perhaps needs to be adjusted along the way:
solana/core/src/rpc.rs
Lines 416 to 420 in 6deaf64
The text was updated successfully, but these errors were encountered: