-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Implement slash storage fault #217
Conversation
Need to take filecoin-project/specs#379 into account, some changes will be needed here. |
also potentially relevant: filecoin-project/specs#449 |
pond: Register app endpoint
Implement PoSt scheduler
Feat/consensus slashing
} | ||
|
||
// You can only be slashed once for missing your PoSt. | ||
if self.SlashedAt > 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good, what I can't find is the following:
if a miner has been successfully slashed, then this var must be reset to -1 or null.
Otherwise, a miner can only be slashed once and forever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, so i think we need to reset it to zero when they next submit a PoSt
4f60a85
to
c7eba0e
Compare
This is no longer relevant given spec changes |
* wip * print out failing test * missing account in state * enable puppet test * add missing preroot * add puppet actor to lvm * refactor getting post root and serialize of test vector (#217)
Not quite done with this I think, it should work, but I want to write a test. Notable changes include: Storage collateral as a miner constructor parameter.