diff --git a/build/openrpc/miner.json.gz b/build/openrpc/miner.json.gz index 25fcc2e04..2aa832034 100644 Binary files a/build/openrpc/miner.json.gz and b/build/openrpc/miner.json.gz differ diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index da94dc682..5ebfe9a8e 100644 --- a/documentation/en/api-v0-methods-miner.md +++ b/documentation/en/api-v0-methods-miner.md @@ -709,7 +709,7 @@ Response: "ID": 3 }, "SectorNumber": 9, - "CARv2FilePath": "string value" + "InboundCAR": "string value" } ``` diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index 5d4a91d5f..006ff601b 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -125,6 +125,65 @@ and storage providers`, Comment: ``, }, }, + "DAGStoreConfig": []DocField{ + { + Name: "TransientsDir", + 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)`, + }, + { + Name: "MaxConcurrentIndex", + Type: "int", + + Comment: `The maximum amount of indexing jobs that can run simultaneously. +Default value: 5.`, + }, + { + Name: "MaxConcurrentReadyFetches", + Type: "int", + + Comment: `The maximum amount of unsealed deals that can be fetched simultaneously +from the storage subsystem. +Default value: 2.`, + }, + { + Name: "MaxConcurrencyStorageCalls", + Type: "int", + + Comment: `The maximum number of simultaneous inflight API calls to the storage +subsystem. +Default value: 100.`, + }, + { + Name: "GCIntervalMillis", + Type: "int", + + Comment: `The number of milliseconds between calls to periodic dagstore GC. +Default value: 60000 (60 seconds = 1 minute).`, + }, + }, "DealmakingConfig": []DocField{ { Name: "ConsiderOnlineStorageDeals", @@ -753,6 +812,12 @@ Default is 20 (about once a week).`, Name: "Addresses", Type: "MinerAddressConfig", + Comment: ``, + }, + { + Name: "DAGStore", + Type: "DAGStoreConfig", + Comment: ``, }, },