Skip to content

Commit 83b4490

Browse files
authored
Update consensus-node.md
1 parent e1eea70 commit 83b4490

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

how-to-guides/consensus-node.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +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 `"null"` in your `config.toml`:
164+
indexing must be turned on (there is currently no way of entirely disabling
165+
indexing). Set the `indexer` to `"null"` in your `config.toml`:
165166

166167
```toml
167168
indexer = "null"
168169
```
169170

170-
The `null` indexer is a lightweight indexer. Do not use the `kv` indexer,
171-
as it results in substantial redundant data being saved.
171+
The `null` indexer is a lightweight indexer that is sufficient for bridge
172+
nodes.
172173

173174
### Optional: Access historical state
174175

@@ -467,13 +468,14 @@ may decide which transactions to index.
467468

468469
The available options are:
469470

470-
1. `null`: This option disables indexing. If you don't need to
471-
query transactions, you can choose this option to save space.
472-
2. `kv` (default): This is the simplest indexer, backed by
471+
1. `null` (default): This option disables indexing outside of
472+
transaction status. If you don't need to query transaction data,
473+
you can choose this option to save space.
474+
3. `kv`: This is the simplest indexer, backed by
473475
key-value storage (defaults to levelDB; see DBBackend).
474476
When `kv` is chosen, `tx.height` and `tx.hash` will always be
475477
indexed. This option is suitable for basic queries on transactions.
476-
3. `psql`: This indexer is backed by PostgreSQL. When psql is chosen,
478+
4. `psql`: This indexer is backed by PostgreSQL. When psql is chosen,
477479
`tx.height` and `tx.hash` will always be indexed. This option is
478480
suitable for complex queries on transactions.
479481

0 commit comments

Comments
 (0)