specify which CID is being blacklisted (it's the piece)

This commit is contained in:
laser
2020-06-18 14:02:22 -07:00
parent aa18d1985e
commit 0c8d648998
8 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ type SetAcceptingStorageDealsConfigFunc func(bool) error
// StorageDealCidBlacklistConfigFunc is a function which reads from miner config
// to obtain a list of CIDs for which the storage miner will not accept storage
// proposals.
type StorageDealCidBlacklistConfigFunc func() ([]cid.Cid, error)
type StorageDealPieceCidBlacklistConfigFunc func() ([]cid.Cid, error)
// SetStorageDealCidBlacklistConfigFunc is a function which is used to set a
// list of CIDs for which the storage miner will reject deal proposals.
type SetStorageDealCidBlacklistConfigFunc func([]cid.Cid) error
type SetStorageDealPieceCidBlacklistConfigFunc func([]cid.Cid) error