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

Remove unused verification code #330

Merged
merged 4 commits into from
Apr 16, 2020
Merged

Conversation

majecty
Copy link
Contributor

@majecty majecty commented Apr 16, 2020

No description provided.

majecty added 4 commits April 16, 2020 14:51
The function was empty.

We will make Foundry verify seal in a header soon. When verifying a
seal, we should not use ConsensusEngine. Since the Tendermint
ConsensusEngine uses a global lock, ConsensusEngine::verify_block_seal
would not utilize multi threads.
The VerificationQueue does not read the variable.
Foundry was using only the VerifierType::Canon.
Foundry is using only CanonVerifier. We are not using the `Verifier` abstraction.
@majecty majecty added the refactoring Behavior does not change. Make code simple label Apr 16, 2020
@majecty majecty requested a review from sgkim126 April 16, 2020 06:10
@majecty majecty merged commit 9570894 into CodeChain-io:master Apr 16, 2020
@majecty
Copy link
Contributor Author

majecty commented Apr 16, 2020

Since the failed test is "connect 100 nodes" I merged this PR.

#274

@majecty majecty deleted the f/verify-seal branch April 16, 2020 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Behavior does not change. Make code simple
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants