Skip to content

Commit 239721b

Browse files
docs(node): fix the archive and state sync node settings
node-types.mdx had the two mistakes the nodes skill had. Archive nodes also need ss-keep-recent = 0, or the SeiDB state store keeps pruning history. A state sync provider serves snapshots with a non-zero [state-sync] snapshot-interval in app.toml; [statesync] enable in config.toml makes a node consume them. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 6385c8b commit 239721b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎node/node-types.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ There are a few node types that can be run on Sei network which serve a variety
77

88
- RPC / full nodes: these nodes are generally used for querying data or interacting with the chain. They maintain some state but not since genesis. The default settings will run RPC / full nodes.
99

10-
- Archive / full Nodes: maintain full state of the blockchain from genesis. Generally requires large disks (10 TB+ minimum). To enable this type of node, set `min-retain-blocks=0` and `pruning="nothing"` in your `app.toml`.
10+
- Archive / full Nodes: maintain full state of the blockchain from genesis. Generally requires large disks (10 TB+ minimum). To enable this type of node, set `min-retain-blocks=0` and `pruning="nothing"` in your `app.toml`, and set `ss-keep-recent = 0` under `[state-store]` so the SeiDB state store keeps every version.
1111

12-
- State Sync Nodes: provide snapshot data for other nodes to use to bootstrap onto the chain. To enable this type of node, set `enable=true` under the `[statesync]` section in config.toml.
12+
- State Sync Nodes: provide snapshot data for other nodes to use to bootstrap onto the chain. To enable this type of node, set a non-zero `snapshot-interval` under `[state-sync]` in `app.toml`. The `enable=true` setting under `[statesync]` in `config.toml` does the opposite: it makes a node bootstrap from other nodes' snapshots.
1313

1414
- Validator Nodes provide security to the chain by proposing and signing blocks. To enable this type of node, set `mode=validator` in `config.toml`. Note that because Sei is proof-of-stake, you must have enough delegation to join the active set.
1515

0 commit comments

Comments
 (0)