Skip to content
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

relax validation requirements on subjective data returned by get_wall_time #10

Merged
merged 1 commit into from Jul 5, 2019

Conversation

arhag
Copy link
Contributor

@arhag arhag commented Jul 5, 2019

I am concerned about validation requirements on the subjective data returned by get_wall_time; I consider one of the requirements overly restrictive. The proposal currently requires that the wall clock time returned by the intrinsic increases monotonically across all transactions in the block. This assumes that transactions have linear ordering. That is currently true, but we may wish to explore enhancements to the EOSIO protocol in the future that requires transactions to be serializable but no longer requires linearizability (for example enabling concurrent transaction execution).

So in this PR I propose relaxing the validation rules to ensure the wall clock time monotonically increases only within the transaction (not block), so that we avoid constraining certain optimization/parallelization options for the future.

@arhag arhag merged commit 0d22505 into master Jul 5, 2019
@arhag arhag deleted the get_wall_time-change branch July 5, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants