diff --git a/docs/getting_started/getting_started_with_javatron.md b/docs/getting_started/getting_started_with_javatron.md index 6db505c2..f66946c4 100644 --- a/docs/getting_started/getting_started_with_javatron.md +++ b/docs/getting_started/getting_started_with_javatron.md @@ -157,7 +157,7 @@ This module will guide you through launching a java-tron instance, turning your > - The startup command in this guide is for basic demonstration purposes only. For more detailed deployment and configuration, see the official [Nile Node Deployment Guide](https://nileex.io/run/getRunPage). > - The Nile testnet does not support syncing data from the genesis block (block 0). To start your node quickly, download the officially provided data snapshot. For specific instructions, refer to [Deploying a Node Using a Data Snapshot](../using_javatron/backup_restore.md). -**1. Start the Node** +### **1. Start the Node** Please use the following command to start the node. The `-Xmx24g` flag allocates 24GB of memory to the JVM; you can adjust this according to your machine's configuration. @@ -167,7 +167,7 @@ Please use the following command to start the node. The `-Xmx24g` flag allocates $ java -Xmx24g -XX:+UseConcMarkSweepGC -jar FullNode.jar -c nile_net_config.conf ``` -**2. Verify Node Status** +### **2. Verify Node Status** **2.1 Check Startup and Sync Logs** @@ -227,6 +227,8 @@ You can send the following HTTP requests to your java-tron node to verify that i To confirm that your node is fully synchronized with the network, compare your local node's block height with the latest block height displayed on the [Tronscan block explorer](https://tronscan.org/). If they match, your local node is properly synchronized. +### **3. Stop the Node** + To shut down java-tron, use `kill -15 ` to stop the node. diff --git a/docs/using_javatron/connecting_to_tron.md b/docs/using_javatron/connecting_to_tron.md index 89955f42..9496f2f0 100644 --- a/docs/using_javatron/connecting_to_tron.md +++ b/docs/using_javatron/connecting_to_tron.md @@ -331,7 +331,7 @@ node { Unlike node discovery, which uses UDP, peer connections use Transmission Control Protocol (TCP) on the same port (18888 by default). However, the port number bound for passive connection is the same as that bound for node discovery. If a node does not want to accept passive connections for security reasons, it can close the TCP 18888 port through the firewall. If a node disables passive connections, the entire network topology will be as shown in the figure below: -![image](https://raw.githubusercontent.com/tronprotocol/documentation-zh/master/images/network_topology.png) +![image](https://raw.githubusercontent.com/tronprotocol/documentation-en/master/images/network_topology.png) ## Logs and Node Status Verification