diff --git a/zq2/docs/nodes/node.md b/zq2/docs/nodes/node.md index 9012667..c301531 100644 --- a/zq2/docs/nodes/node.md +++ b/zq2/docs/nodes/node.md @@ -115,7 +115,7 @@ There are two options you can choose from: settings to start the node from a checkpoint. Detailed instructions for this configuration are available in [syncing-from-checkpoints](../nodes/checkpoints/index.md#syncing-a-node-from-a-checkpointsyncing-a-node-from-a-checkpoint). - - Synchronization from the genesis(passive syncing). + - Synchronization from the genesis. This method initializes the node from the genesis block, ensuring that the node processes the entire blockchain history. However, this process is time-consuming, as the node must diff --git a/zq2/docs/nodes/passive-pruning.md b/zq2/docs/nodes/passive-pruning.md index 2c6422d..d9cb159 100644 --- a/zq2/docs/nodes/passive-pruning.md +++ b/zq2/docs/nodes/passive-pruning.md @@ -23,7 +23,7 @@ Zilliqa nodes support two **mutually exclusive** configuration parameters: - **Use case:** Ideal for **validator nodes** that only need recent block data for performance. - **Note:** Pruning only starts **after** more than `N` blocks are present. No backward sync is performed to reach count `N`. -### `node.sync.sync_base_height` +### `node.sync.base_height` - **Purpose:** Ensures the lowest block retained is at height `N`. - **Effect:** Deletes blocks **below** height `N` and **passively syncs** blocks from `TIP` backwards to `N`. @@ -59,7 +59,7 @@ node.sync.prune_interval = 10000 Set the following in the config: ```toml -node.sync.sync_base_height = 0 +node.sync.base_height = 0 ``` * Node begins **passive syncing backwards** toward block `0`. @@ -88,7 +88,7 @@ node.sync.sync_base_height = 0 | Config | Purpose | Passive Sync | Prune Old Blocks | Use Case | | ---------------------------- | ------------------------ | ------------ | ---------------- | -------------- | | `node.sync.prune_interval` | Retain latest `N` blocks | ❌ | ✅ | Validator Node | -| `node.sync.sync_base_height` | Retain from `N` to TIP | ✅ | ✅ | Archive Node | +| `node.sync.base_height` | Retain from `N` to TIP | ✅ | ✅ | Archive Node | ---