From 970f3eff693a99b5b454cf25c8b17176e88b0649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Tue, 3 Aug 2021 23:46:48 +0100 Subject: [PATCH] fix gen. --- build/openrpc/miner.json.gz | Bin 9603 -> 9605 bytes documentation/en/api-v0-methods-miner.md | 2 +- node/config/doc_gen.go | 65 +++++++++++++++++++++++ 3 files changed, 66 insertions(+), 1 deletion(-) diff --git a/build/openrpc/miner.json.gz b/build/openrpc/miner.json.gz index 25fcc2e04995338f50b220c44495a2778691aebf..2aa83203441ea516d0d707d23a1157c18907d9a3 100644 GIT binary patch delta 6461 zcmV-D8N%j+ONC3Yf((BqQfnC~;?{Q-@#%>T5Ozq_9T2p2jqbP5qXo;$zu`6Vkb5UA z^K#f+kcG1&*6i$B`i1f~rtcAj7NqbB(zSd*ctDR--7BB#?5ECtdLH&uK#7%PWN>C@ zm1nQfvLy8f>AJ1c&NckPQ-Vu8;W)HBT7knMl++3*LL$wf+}VFKWew1nL9OpF@qL#U z#ll&39$N8xWRAx;A$eOT<#<#t;SXR>j}$5Yk&W0u$*~HU%9>8c@&hT$9^xdYXIJYK z9{Xl>;TtO&*iX|GTmyfJrLFT!yEbBNaBxfJn0Wb=ua{9@PeOU12p-8d9epGZ3hGx0hKYtpjvBv47AO5doerGNH@tyhw zJHJ)uw|WkKD=l*-$>>^(FOef(jiuvmAQg3#=z!u4%CUj=BLjMRlv_#{u2VA#Gz(3t zM+=gkC18J=$$XaM*NU$E;qqB0iY~}v<*$*)n6ROGbqTa5DOi`hw;95ePe`|9U4|B< z6m7QD1JnVoxZl;UclGOC{rZy#!)b11;=FGC`dn4N&P5(uNAK`8UR@B%f|iA>(9G?D?UC$yp_rWKRKS0im5kw39FwI=R)ZGQtIe=MCqiVa$v#c0^TB#yq@NpvdYax^_rbY>65 zVnfC4^TOhGu2f_t+&YS&xVpW9Mo1ytdZ)LpetqBT*E^AOIXda9isdoEWc8YT{Yr8s zd|ZFgIY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/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: ``, }, },