Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/getting_started/getting_started_with_javatron.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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**

Expand Down Expand Up @@ -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 <process_id>` to stop the node.

<a id="interact-with-tron"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/using_javatron/connecting_to_tron.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down