From 98c861e3c911250a85cf9fd78a03f56abee76a91 Mon Sep 17 00:00:00 2001 From: Icarus9913 Date: Wed, 13 Apr 2022 15:25:33 +0800 Subject: [PATCH] fix the IndexProviderConfig comment --- documentation/en/default-lotus-miner-config.toml | 2 +- node/config/doc_gen.go | 2 +- node/config/types.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/en/default-lotus-miner-config.toml b/documentation/en/default-lotus-miner-config.toml index 15e498fd3..ef2c4f343 100644 --- a/documentation/en/default-lotus-miner-config.toml +++ b/documentation/en/default-lotus-miner-config.toml @@ -265,7 +265,7 @@ [IndexProvider] # Enable set whether to enable indexing announcement to the network and expose endpoints that - # allow indexer nodes to process announcements. Disabled by default. + # allow indexer nodes to process announcements. Enabled by default. # # type: bool # env var: LOTUS_INDEXPROVIDER_ENABLE diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index c86cf975a..7d3306d91 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -378,7 +378,7 @@ see https://docs.filecoin.io/mine/lotus/miner-configuration/#using-filters-for-f Type: "bool", Comment: `Enable set whether to enable indexing announcement to the network and expose endpoints that -allow indexer nodes to process announcements. Disabled by default.`, +allow indexer nodes to process announcements. Enabled by default.`, }, { Name: "EntriesCacheCapacity", diff --git a/node/config/types.go b/node/config/types.go index 9d0d68dd3..3d50a14e6 100644 --- a/node/config/types.go +++ b/node/config/types.go @@ -169,7 +169,7 @@ type DealmakingConfig struct { type IndexProviderConfig struct { // Enable set whether to enable indexing announcement to the network and expose endpoints that - // allow indexer nodes to process announcements. Disabled by default. + // allow indexer nodes to process announcements. Enabled by default. Enable bool // EntriesCacheCapacity sets the maximum capacity to use for caching the indexing advertisement