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/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` 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..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" @@ -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 & ``` **提示:** @@ -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 a3a8c8f19..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" @@ -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 & ``` @@ -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`命令查看。