From d0ac1fb674e8105e063323d77bbffc259c5e7b41 Mon Sep 17 00:00:00 2001
From: Lama1403 <121100574+Lama1403@users.noreply.github.com>
Date: Tue, 17 Dec 2024 18:38:27 +0200
Subject: [PATCH] Update node.md (#68)
---
zq2/docs/nodes/node.md | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/zq2/docs/nodes/node.md b/zq2/docs/nodes/node.md
index 6c88edf..750093d 100644
--- a/zq2/docs/nodes/node.md
+++ b/zq2/docs/nodes/node.md
@@ -100,15 +100,6 @@ and run.
9. Now it's time to decide how the node will synchronize with the network.
There are two methods for setting the synchronization rules for the node.
- - Start the node 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
- download and validate every block from the genesis block to the latest block height.
- Syncing the node to the latest block may take a considerable amount of time,
- potentially up to several days to complete fully. If you opt for this method, you can
- proceed directly to the [Start the node](#start-the-node) section.
-
- Start the node from a checkpoint.
Starting from a checkpoint is a significantly faster option. This method leverages a
@@ -119,21 +110,29 @@ There are two methods for setting the synchronization rules for the node.
Detailed instructions for this configuration are available in
[syncing-from-checkpoints](../nodes/checkpoint.md#syncing-a-node-from-a-checkpoint).
Once the checkpoint is set up, your node will be ready to start.
- You can now follow the steps below.
+
+ - Start the node 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
+ download and validate every block from the genesis block to the latest block height.
+ Syncing the node to the latest block may take a considerable amount of time,
+ potentially up to several days to complete fully. If you opt for this method, you can
+ proceed directly to the [Start the node](#start-the-node) section.
+
+
### [Start the node](#start-the-node)
-Only full archive nodes need to sync from the genesis block. This can take up to a few days depending on the network and the node's hardware. Once a node is fully synced, its data directory can be copied to setup more nodes quickly. Note that running a node with a copied data directory is matter of trust since the data is not verified.
-
-Nodes that do not need all historical blocks can be synced much faster from a checkpoint, preferably the latest one. This takes only a few hours at most. The root of trust in this case is the hash of the checkpoint block that can be obtained from and verified against public sources.
+Since only full archive nodes need to sync from the genesis block, all other nodes can be started from a checkpoint:
-* start the node with Checkpoint:
+* start the node from a Checkpoint:
(fast, recommended)
```bash
chmod +x start_node.sh && \
./start_node.sh -k $PRIVATE_KEY -p
```
-* start the node without Checkpoint:
+* start the node from the genesis:
(slow, available after the next network upgrade)
```bash
chmod +x start_node.sh && \