Skip to content

Introduce DoubleVoteHandler#291

Merged
sgkim126 merged 5 commits intoCodeChain-io:masterfrom
sgkim126:double
Mar 30, 2020
Merged

Introduce DoubleVoteHandler#291
sgkim126 merged 5 commits intoCodeChain-io:masterfrom
sgkim126:double

Conversation

@sgkim126
Copy link
Contributor

@sgkim126 sgkim126 commented Mar 28, 2020

This patch removes stake related implementations from the core crate.
The jobs that StakeHandler did are implemented in the state crate. The only thing that the state crate cannot handle is ReportDoubleVote because it's hard coupled with the consensus. So this patch introduces DoubleVoteHandler. I think a similar handler will be used even after the module separation.

@sgkim126
Copy link
Contributor Author

sgkim126 commented Mar 28, 2020

@majecty The first two commits are included in #283; please review other commits.
I'll remove do-not-merge label after the previous #283 merged.

@sgkim126 sgkim126 removed the do-not-merge Do not merge this PR label Mar 30, 2020
@sgkim126 sgkim126 merged commit fb8af4c into CodeChain-io:master Mar 30, 2020
@sgkim126 sgkim126 deleted the double branch March 30, 2020 05:11
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.

2 participants