-
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
Config for collateral from miner available balance #6629
Conversation
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 correct, but I would definitely prefer a minimum amount instead of just a boolean use / don't use.
d2738a4
to
3bbdf15
Compare
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.
LGTM
@@ -324,6 +331,10 @@ func DefaultStorageMiner() *StorageMiner { | |||
AlwaysKeepUnsealedCopy: true, | |||
FinalizeEarly: false, | |||
|
|||
CollateralFromMinerBalance: false, | |||
AvailableBalanceBuffer: types.FIL(big.Zero()), |
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.
Is 0 the best default here? I guess it's okay because CollateralFromMinerBalance
is defaulting to false anyway.
3bbdf15
to
e44c940
Compare
e44c940
to
7526a07
Compare
Closes #6603