config-driven IsAcceptingStorageDeals flag

Makes incremental progress towards #1920.
This commit is contained in:
laser
2020-06-11 11:29:59 -07:00
parent c8046f4597
commit d6b2519843
4 changed files with 43 additions and 3 deletions
+4
View File
@@ -7,3 +7,7 @@ import (
type MinerAddress address.Address
type MinerID abi.ActorID
// IsAcceptingStorageDealsFunc is a function which reads from miner config to
// determine if the user has disabled storage deals (or not).
type IsAcceptingStorageDealsFunc func() (bool, error)