make addpiece configurable

This commit is contained in:
yaohcn
2020-08-17 17:39:50 +08:00
parent 1898b82dc4
commit 39bcfab37c
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -133,6 +133,7 @@ func DefaultStorageMiner() *StorageMiner {
Common: defCommon(),
Storage: sectorstorage.SealerConfig{
AllowAddPiece: true,
AllowPreCommit1: true,
AllowPreCommit2: true,
AllowCommit: true,