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

Ashanti/winning posts #493

Merged
merged 15 commits into from
Jun 15, 2020
Merged

Ashanti/winning posts #493

merged 15 commits into from
Jun 15, 2020

Conversation

StaticallyTypedAnxiety
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Implements Winning Posts for StateManager Sync
  • adds a util fie for StateManager

Reference issue to close (if applicable)

Closes #471

Other information and links

blockchain/chain_sync/src/sync.rs Outdated Show resolved Hide resolved
blockchain/chain_sync/src/sync.rs Outdated Show resolved Hide resolved
blockchain/chain_sync/src/sync.rs Outdated Show resolved Hide resolved
blockchain/state_manager/src/utils.rs Outdated Show resolved Hide resolved
blockchain/state_manager/src/utils.rs Outdated Show resolved Hide resolved
blockchain/state_manager/src/utils.rs Outdated Show resolved Hide resolved
blockchain/state_manager/src/utils.rs Outdated Show resolved Hide resolved
blockchain/state_manager/src/utils.rs Outdated Show resolved Hide resolved
vm/runtime/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
@austinabell
Copy link
Contributor

you accidentally committed a file in 821f33b

Copy link
Member

@ec2 ec2 left a comment

Choose a reason for hiding this comment

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

LGTM. One thing I would change is having the utils functions take a DB instead of the whole state manager. Looks like (if im correct) that it only relies on the DB from the state manager.... This in turn allows verify_winning_post_proof to also not have to take in self, and just DB. This can be done later on if needed though.

@StaticallyTypedAnxiety StaticallyTypedAnxiety merged commit a326fec into master Jun 15, 2020
@StaticallyTypedAnxiety StaticallyTypedAnxiety deleted the ashanti/winning_posts branch June 15, 2020 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[state manager/sync] - Implement get for winning PoSts
3 participants