From 78e72b762da093a44b9ed27517b0110a863e02de Mon Sep 17 00:00:00 2001 From: warku123 Date: Tue, 18 Nov 2025 11:48:14 +0800 Subject: [PATCH 1/4] Change description about Backup_configure --- docs/using_javatron/installing_javatron.md | 30 +++++----------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/docs/using_javatron/installing_javatron.md b/docs/using_javatron/installing_javatron.md index 0e548c41..e7a96eea 100644 --- a/docs/using_javatron/installing_javatron.md +++ b/docs/using_javatron/installing_javatron.md @@ -101,9 +101,9 @@ java -Xmx24g -XX:+UseConcMarkSweepGC -jar FullNode.jar --witness -c config.conf ### Master-Slave Mode for Block Production FullNodes -To enhance the reliability of block production FullNodes, you can deploy multiple block production FullNodes for the same account, forming a master-slave mode. When an account with block production rights deploys two or more nodes, it's necessary to configure `node.backup` in each node's configuration file. The description of `node.backup` configuration items is as follows: +To enhance the reliability of block production FullNodes, you can deploy multiple block production FullNodes for the same account, forming a master-slave mode. When an account with block production rights deploys two or more nodes **(Recommanded number: 2)**, it's necessary to configure `node.backup` in each node's configuration file. The description of `node.backup` configuration items is as follows: -``` +```ini node.backup { # udp listen port, each member should have the same configuration port = 10001 @@ -120,8 +120,8 @@ node.backup { # "ip" ] } -```ini -For example, if an account with block production rights deploys three nodes with IPs 192.168.0.100, 192.168.0.101, and 192.168.0.102 respectively, their `node.backup` configurations should be as follows: +``` +For example, if an account with block production rights deploys three nodes with IPs 192.168.0.100 and 192.168.0.101 respectively, their `node.backup` configurations should be as follows: - Configuration for IP 192.168.0.100 ```ini @@ -130,36 +130,20 @@ node.backup { priority = 8 keepAliveInterval = 3000 members = [ - "192.168.0.101", - "192.168.0.102" + "192.168.0.101" ] } ``` * Configuration for IP 192.168.0.101 -``` +```ini node.backup { port = 10001 priority = 7 keepAliveInterval = 3000 members = [ - "192.168.0.100", - "192.168.0.102" - ] -} -``` - -* Configuration for IP 192.168.0.102 - -``` -node.backup { - port = 10001 - priority = 6 - keepAliveInterval = 3000 - members = [ - "192.168.0.100", - "192.168.0.101" + "192.168.0.100" ] } ``` From 43029c7443d3a34b5249fd1ef1b74082cb3a0f3a Mon Sep 17 00:00:00 2001 From: warku123 Date: Tue, 18 Nov 2025 11:54:55 +0800 Subject: [PATCH 2/4] Modify grammar --- docs/using_javatron/installing_javatron.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/using_javatron/installing_javatron.md b/docs/using_javatron/installing_javatron.md index e7a96eea..e6275210 100644 --- a/docs/using_javatron/installing_javatron.md +++ b/docs/using_javatron/installing_javatron.md @@ -114,7 +114,7 @@ node.backup { # time interval to send keepAlive message, each member should have the same configuration unit: ms keepAliveInterval = 3000 - # peer's ip list, can't contain myself + # peers' IP list, must not include myself members = [ # "ip", # "ip" From e6e4056b376e33c0cdfbcbf44f443318bf0beffe Mon Sep 17 00:00:00 2001 From: warku123 Date: Tue, 18 Nov 2025 11:57:13 +0800 Subject: [PATCH 3/4] Spelling mistake --- docs/using_javatron/installing_javatron.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/using_javatron/installing_javatron.md b/docs/using_javatron/installing_javatron.md index e6275210..2d3a6198 100644 --- a/docs/using_javatron/installing_javatron.md +++ b/docs/using_javatron/installing_javatron.md @@ -101,7 +101,7 @@ java -Xmx24g -XX:+UseConcMarkSweepGC -jar FullNode.jar --witness -c config.conf ### Master-Slave Mode for Block Production FullNodes -To enhance the reliability of block production FullNodes, you can deploy multiple block production FullNodes for the same account, forming a master-slave mode. When an account with block production rights deploys two or more nodes **(Recommanded number: 2)**, it's necessary to configure `node.backup` in each node's configuration file. The description of `node.backup` configuration items is as follows: +To enhance the reliability of block production FullNodes, you can deploy multiple block production FullNodes for the same account, forming a master-slave mode. When an account with block production rights deploys two or more nodes **(Recommended number: 2)**, it's necessary to configure `node.backup` in each node's configuration file. The description of `node.backup` configuration items is as follows: ```ini node.backup { From 640052950b46ff5e926925b8302be77151093e78 Mon Sep 17 00:00:00 2001 From: warku123 Date: Tue, 18 Nov 2025 15:11:08 +0800 Subject: [PATCH 4/4] Modify number --- docs/using_javatron/installing_javatron.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/using_javatron/installing_javatron.md b/docs/using_javatron/installing_javatron.md index 2d3a6198..23314221 100644 --- a/docs/using_javatron/installing_javatron.md +++ b/docs/using_javatron/installing_javatron.md @@ -121,7 +121,7 @@ node.backup { ] } ``` -For example, if an account with block production rights deploys three nodes with IPs 192.168.0.100 and 192.168.0.101 respectively, their `node.backup` configurations should be as follows: +For example, if an account with block production rights deploys two nodes with IPs 192.168.0.100 and 192.168.0.101 respectively, their `node.backup` configurations should be as follows: - Configuration for IP 192.168.0.100 ```ini