diff --git a/markets/dagstore/wrapper.go b/markets/dagstore/wrapper.go index c05753baa..c3a7b2751 100644 --- a/markets/dagstore/wrapper.go +++ b/markets/dagstore/wrapper.go @@ -9,7 +9,6 @@ import ( "sync" "time" - "github.com/filecoin-project/go-statemachine/fsm" "github.com/ipfs/go-cid" ds "github.com/ipfs/go-datastore" levelds "github.com/ipfs/go-ds-leveldb" @@ -18,15 +17,17 @@ import ( ldbopts "github.com/syndtr/goleveldb/leveldb/opt" "golang.org/x/xerrors" - "github.com/filecoin-project/go-fil-markets/storagemarket" - "github.com/filecoin-project/go-fil-markets/storagemarket/impl/providerstates" "github.com/filecoin-project/lotus/node/config" + "github.com/filecoin-project/go-statemachine/fsm" + "github.com/filecoin-project/dagstore" "github.com/filecoin-project/dagstore/index" "github.com/filecoin-project/dagstore/mount" "github.com/filecoin-project/dagstore/shard" + "github.com/filecoin-project/go-fil-markets/storagemarket" + "github.com/filecoin-project/go-fil-markets/storagemarket/impl/providerstates" "github.com/filecoin-project/go-fil-markets/stores" ) diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index 421516625..a24c92188 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -127,31 +127,11 @@ and storage providers`, }, "DAGStoreConfig": []DocField{ { - Name: "TransientsDir", + Name: "RootDir", Type: "string", - Comment: `Path to the transients directory. The transients directory caches -unsealed deals that have been fetched from the storage subsystem for -serving retrievals. When empty or omitted, the default value applies. -Default value: $LOTUS_MARKETS_PATH/dagStore/transients (split deployment) -or $LOTUS_MINER_PATH/dagStore/transients (monolith deployment)`, - }, - { - Name: "IndexDir", - Type: "string", - - Comment: `Path to indices directory. When empty or omitted, the default value applies. -Default value: $LOTUS_MARKETS_PATH/dagStore/index (split deployment) -or $LOTUS_MINER_PATH/dagStore/index (monolith deployment)`, - }, - { - Name: "DatastoreDir", - Type: "string", - - Comment: `Path to datastore directory. The datastore is a KV store tracking the -state of shards known to the DAG store. -Default value: $LOTUS_MARKETS_PATH/dagStore/datastore (split deployment) -or $LOTUS_MINER_PATH/dagStore/datastore (monolith deployment)`, + Comment: `Default value: $LOTUS_MARKETS_PATH/dagStore (split deployment) or +$LOTUS_MINER_PATH/dagStore (monolith deployment)`, }, { Name: "MaxConcurrentIndex",