Skip to content

Commit e1eea70

Browse files
authored
Update indexer field value
1 parent d6633ff commit e1eea70

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

how-to-guides/consensus-node.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,15 @@ min-retain-blocks = 0 # retain all block data, this is default setting
161161
### Query transactions by hash
162162

163163
To query transactions using their hash, transaction
164-
indexing must be turned on. Set the `indexer` to `"kv"` in your `config.toml`:
164+
indexing must be turned on. Set the `indexer` to `"null"` in your `config.toml`:
165165

166166
```toml
167-
indexer = "kv"
167+
indexer = "null"
168168
```
169169

170+
The `null` indexer is a lightweight indexer. Do not use the `kv` indexer,
171+
as it results in substantial redundant data being saved.
172+
170173
### Optional: Access historical state
171174

172175
If you want to query the historical state — for example, you might want
@@ -512,4 +515,4 @@ configuration to load the new settings.
512515

513516
## FAQ
514517

515-
### `+2/3 committed an invalid block: wrong Block.Header.Version`
518+
### `+2/3 committed an invalid block: wrong Block.Header.Version`

0 commit comments

Comments
 (0)