Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update block verification - Closes #6754 #6872

Conversation

ishantiw
Copy link
Contributor

@ishantiw ishantiw commented Nov 2, 2021

What was the problem?

This PR resolves #6754

How was it solved?

🌱 Add block verification b34b8bd

  • Verify the timestamp, height, previousBlockID, generatorAddress, maxHeightPrevoted, maxHeightGenerated, and signature properties
  • Update interface for BFT and Validator module API

✅ Add all tests for block verification 2ec8bba

How was it tested?

npm run test:unit consensus.spec

- Verify the timestamp, height, previousBlockID, generatorAddress, maxHeightPrevoted, maxHeightGenerated, and signature properties
- Update interface for bft and validator module API
@ishantiw ishantiw requested a review from shuse2 November 2, 2021 02:58
@ishantiw ishantiw self-assigned this Nov 2, 2021
@ishantiw ishantiw requested a review from Incede November 2, 2021 08:50
framework/src/node/consensus/consensus.ts Outdated Show resolved Hide resolved
framework/src/node/consensus/consensus.ts Outdated Show resolved Hide resolved
@ishantiw ishantiw requested a review from shuse2 November 2, 2021 12:02
Copy link
Collaborator

@shuse2 shuse2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job 🚀

@CLAassistant
Copy link

CLAassistant commented Nov 2, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@Incede Incede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor rephrasing suggestion.

@ishantiw ishantiw force-pushed the 6754-update-block-verification branch from 83388c0 to 88ecc35 Compare November 4, 2021 20:12
@shuse2 shuse2 merged commit 6114ef1 into feature/6554-improve-framework-architecture Nov 4, 2021
@shuse2 shuse2 deleted the 6754-update-block-verification branch November 4, 2021 20:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants