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

Miner state #325

Merged
merged 6 commits into from
Apr 7, 2020
Merged

Miner state #325

merged 6 commits into from
Apr 7, 2020

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Implements miner state
    • Some epochs can be optional which explains the OptionalEpoch type. They need to be serialized as -1 for undefined. It is possible that undefined epochs are intended for other types other than this, but I think it is contained to this. Otherwise we will find out later
  • Updates for_each function signatures in Hamt/Amt to be more consistent, cleanly used, and not clone when not necessary

One todo blocked on #308 which I will do after that comes in

Reference issue to close (if applicable)

Closes #321

Other information and links

@austinabell austinabell merged commit e0a996b into master Apr 7, 2020
@austinabell austinabell deleted the austin/actors/minerst branch April 7, 2020 20:26
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.

Miner Actor State
2 participants