get and set storage deal acceptance through CLI

This commit is contained in:
laser
2020-06-11 12:59:50 -07:00
parent 67110ce739
commit 7587e6c08b
8 changed files with 56 additions and 6 deletions
+4
View File
@@ -11,3 +11,7 @@ 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)
// SetAcceptingStorageDealsFunc is a function which is used to disable or enable
// storage deal acceptance.
type SetAcceptingStorageDealsFunc func(bool) error