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

BFT应该需要对proposal的时间进行验证 #98

Open
u2 opened this issue Mar 14, 2019 · 3 comments
Open

BFT应该需要对proposal的时间进行验证 #98

u2 opened this issue Mar 14, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@u2
Copy link
Contributor

u2 commented Mar 14, 2019

原因:
合约的某些行为需要依赖区块的时间,如果不对时间进行验证,单一节点作为proposal就可以轻易作恶。

提议:
validator对proposal进行验证投票的时候,需要对proposal的时间进行验证。这里的时间验证不同于公链。

需要注意:
这里可能会对共识的规则产生一些影响,比如对未来高度的投票,比如多轮共识未达成等等。

@u2 u2 added the bug Something isn't working label Mar 14, 2019
@KaoImin
Copy link

KaoImin commented Mar 14, 2019

validator对proposal进行验证投票的时候,需要对proposal的时间进行验证。

验证提出 proposal 的时间在某一区间范围内吗

@u2
Copy link
Contributor Author

u2 commented Mar 14, 2019

是的

@rev-chaos
Copy link

该需求已列入开发计划, 预计在 v0.4 版本中实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants