From fc719e710f0c26768cf493be0fe5aa11e074f33a Mon Sep 17 00:00:00 2001 From: Shrenuj Bansal Date: Fri, 9 Jun 2023 11:46:27 -0500 Subject: [PATCH] Add comment stating msgIndex is an experimental feature --- documentation/en/default-lotus-config.toml | 1 + node/config/doc_gen.go | 3 ++- node/config/types.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/en/default-lotus-config.toml b/documentation/en/default-lotus-config.toml index 960a55fd0..8e99869a5 100644 --- a/documentation/en/default-lotus-config.toml +++ b/documentation/en/default-lotus-config.toml @@ -391,6 +391,7 @@ [Index] + # EXPERIMENTAL FEATURE. USE WITH CAUTION # EnableMsgIndex enables indexing of messages on chain. # # type: bool diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index e4d41c1a9..5361b2d6c 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -473,7 +473,8 @@ Set to 0 to keep all mappings`, Name: "EnableMsgIndex", Type: "bool", - Comment: `EnableMsgIndex enables indexing of messages on chain.`, + Comment: `EXPERIMENTAL FEATURE. USE WITH CAUTION +EnableMsgIndex enables indexing of messages on chain.`, }, }, "IndexProviderConfig": []DocField{ diff --git a/node/config/types.go b/node/config/types.go index c7fc53645..c89e8f70b 100644 --- a/node/config/types.go +++ b/node/config/types.go @@ -728,6 +728,7 @@ type Events struct { } type IndexConfig struct { + // EXPERIMENTAL FEATURE. USE WITH CAUTION // EnableMsgIndex enables indexing of messages on chain. EnableMsgIndex bool }