From 2a53b818e3eaf49ab064a2e285d3c98c9de26e38 Mon Sep 17 00:00:00 2001 From: benbaley Date: Fri, 20 Mar 2026 15:30:17 +0800 Subject: [PATCH 1/3] rm fast mode sync --- .../PlatON\345\205\261\350\257\206\346\226\271\346\241\210.md" | 2 +- ...\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" | 2 +- ...\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" | 2 +- ...\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" | 2 +- ...\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git "a/docs/PlatON\345\205\261\350\257\206\346\226\271\346\241\210.md" "b/docs/PlatON\345\205\261\350\257\206\346\226\271\346\241\210.md" index 0e044df96..36466f865 100644 --- "a/docs/PlatON\345\205\261\350\257\206\346\226\271\346\241\210.md" +++ "b/docs/PlatON\345\205\261\350\257\206\346\226\271\346\241\210.md" @@ -271,7 +271,7 @@ Due to the asynchronous parallelism of the CBFT consensus, the latest blocks are Here is an overview of the block synchronization mechanism: -- Newly added nodes update blocks to mainnet height via ETH-P2P with fast synchronization or full synchronization +- Newly added nodes update blocks to mainnet height via ETH-P2P with snap synchronization or full synchronization - Consensus nodes use CBFT-P2P's heartbeat mechanism to keep the block height consistent with other nodes diff --git "a/docs/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" "b/docs/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" index 97eaee795..fb75b0c1e 100644 --- "a/docs/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" +++ "b/docs/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" @@ -42,7 +42,7 @@ PLATON OPTIONS: --networkid value Network identifier (integer, 1=Frontier, 2=Morden (disused), 3=Ropsten, 4=Rinkeby) (default: 1) --main Mainnet network: pre-configured main network (default network) --testnet Testnet network: pre-configured test network - --syncmode "full" Blockchain sync mode ("fast", "full", or "light") + --syncmode "full" Blockchain sync mode ("snap" or "full") --identity value Custom node name --lightkdf Reduce key-derivation RAM & CPU usage at some expense of KDF strength diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" index d0b4ed55a..248f6a0f6 100644 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" +++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" @@ -45,7 +45,7 @@ PLATON OPTIONS: --networkid value Network identifier (integer, 1=Frontier, 2=Morden (disused), 3=Ropsten, 4=Rinkeby) (default: 1) --main Mainnet network: pre-configured main network (default network) --testnet Testnet network: pre-configured test network - --syncmode "full" Blockchain sync mode ("fast", "full", or "light") + --syncmode "full" Blockchain sync mode ("snap" or "full") --identity value Custom node name --lightkdf Reduce key-derivation RAM & CPU usage at some expense of KDF strength diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" index a1cf04e11..b148a3436 100644 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" +++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" @@ -168,7 +168,7 @@ cd ~/platon-node 执行以下命令即可启动验证节点加入PlatON主网络 ```bash -nohup platon --identity platon --datadir ./data --port 16789 --http.port 6789 --http.api "platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --syncmode "fast" --db.nogc > ./data/platon.log 2>&1 & +nohup platon --identity platon --datadir ./data --port 16789 --http.port 6789 --http.api "platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --syncmode "snap" --db.nogc > ./data/platon.log 2>&1 & ``` **提示:** diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" index a3a8c8f19..fb2b51de0 100644 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" +++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" @@ -181,7 +181,7 @@ cd ~/platon-node && wget https://download.platon.network/platon/devnet3/platon/1 开发2网示例: ```shell -cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port 16789 --http.port 6789 --http.api "db,platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --bootnodes enode://4ea24accba3da480021bd8c9699e702d9bec0e5f3d7dd1a354697e83b67a4c275b3fb2a21a3be2438a3430fd4b8a9f97acf1c090c1ade599a619fedeac1fb730@devnet3node1.platon.network:16789 --syncmode "fast" > ./data/platon.log 2>&1 & +cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port 16789 --http.port 6789 --http.api "db,platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --bootnodes enode://4ea24accba3da480021bd8c9699e702d9bec0e5f3d7dd1a354697e83b67a4c275b3fb2a21a3be2438a3430fd4b8a9f97acf1c090c1ade599a619fedeac1fb730@devnet3node1.platon.network:16789 --syncmode "snap" > ./data/platon.log 2>&1 & ``` From cdcca039428fe05ba8877903e328c04b7ea33d83 Mon Sep 17 00:00:00 2001 From: benbaley Date: Fri, 20 Mar 2026 15:35:31 +0800 Subject: [PATCH 2/3] rm fast mode sync --- ...\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" | 2 +- ...\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" index b148a3436..e1a4718b0 100644 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" +++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" @@ -185,7 +185,7 @@ nohup platon --identity platon --datadir ./data --port 16789 --http.port 6789 -- | --nodekey | 指定节点私钥文件 | | --cbft.blskey | 指定节点 bls 私钥文件 | | --verbosity | 日志级别,0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE | -| --syncmode | fast:快速同步模式,full:全同步模式 | +| --syncmode | snap:快照同步模式,full:全同步模式 | | –-db.nogc | 开启归档模式,开启该开关后,节点数据不再启用垃圾回收机制,所以CPU开销会有所降低,相应的磁盘开销会增大 | | --allow-insecure-unlock | 启用unlockAccount功能 | diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" index fb2b51de0..a6b404087 100644 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" +++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" @@ -199,7 +199,7 @@ cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port | --nodekey | 指定节点私钥文件 | | --cbft.blskey | 指定节点 bls 私钥文件 | | --verbosity | 日志级别,0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE | -| --syncmode | fast:快速同步模式,full:全同步模式 | +| --syncmode | snap:快照同步模式,full:全同步模式 | | –db.nogc | 开启归档模式,开启该开关后,节点数据不再启用垃圾回收机制,所以CPU开销会有所降低,相应的磁盘开销会增大 | 更多参数意义通过`platon --help`命令查看。 From aa61347d1fb26e265e744721fa84090f0280cd99 Mon Sep 17 00:00:00 2001 From: benbaley Date: Fri, 20 Mar 2026 15:36:45 +0800 Subject: [PATCH 3/3] rm fast mode sync --- ...\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" | 2 +- ...\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/docs/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/docs/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" index aaf7050af..1089899b7 100644 --- "a/docs/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" +++ "b/docs/\346\210\220\344\270\272\344\270\273\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" @@ -184,7 +184,7 @@ nohup platon --identity platon --datadir ./data --port 16789 --http.port 6789 -- | --nodekey | Specify the node private key file | | --cbft.blskey | Specify the node bls private key file | | --verbosity | The level of logging, 0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE | -| --syncmode | fast: Fast synchronization mode, full: All synchronous mode | +| --syncmode | snap: Snap synchronization mode, full: All synchronous mode | | --db.nogc | Enable archive mode, when this switch is turned on, the garbage collection mechanism will no longer work, so the CPU overhead will be reduced and the corresponding disk overhead will be increased | | --allow-insecure-unlock | Enable unlockAccount function | diff --git "a/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" index 0f2407645..5a0d20195 100644 --- "a/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" +++ "b/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" @@ -189,7 +189,7 @@ cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port | --nodekey | Specify the node private key file | | --cbft.blskey | Specify the node bls private key file | | --verbosity | The level of logging, 0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE | -| --syncmode | fast: Fast synchronization mode, full: All synchronous mode | +| --syncmode | snap: Snap synchronization mode, full: All synchronous mode | | --db.nogc | Enable archive mode, when this switch is turned on, the garbage collection mechanism will no longer work, so the CPU overhead will be reduced and the corresponding disk overhead will be increased | See more parameters with the command `platon --help`