Skip to content

Remove unused verification code#330

Merged
majecty merged 4 commits intoCodeChain-io:masterfrom
majecty:f/verify-seal
Apr 16, 2020
Merged

Remove unused verification code#330
majecty merged 4 commits intoCodeChain-io:masterfrom
majecty:f/verify-seal

Conversation

@majecty
Copy link

@majecty majecty commented Apr 16, 2020

No description provided.

Park Juhyung 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
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