diff --git "a/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" "b/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" index 59ec3e73d..9e4dfd3c5 100644 --- "a/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" +++ "b/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" @@ -29,7 +29,7 @@ bash build_chain.sh -l 127.0.0.1 -p 30300,20200,8545 [INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.9.0/fisco-bcos.tar.gz ... curl: (7) Failed to connect to github.com port 443: Connection refused ` -[INFO] Download speed is too low, try https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.9.0/fisco-bcos.tar.gz +[INFO] Download speed is too low, try https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.9.0/fisco-bcos.tar.gz 这里讲了我们去访问GitHub中下载FISCO-BCOS的压缩包,结果发现链接失败所以跳转到国内的码云中去下载 diff --git a/2.x/docs/browser/deploy.md b/2.x/docs/browser/deploy.md index 6fdf46d2a..21dcd1f31 100644 --- a/2.x/docs/browser/deploy.md +++ b/2.x/docs/browser/deploy.md @@ -87,8 +87,8 @@ Python3.6及以上版本,需安装PyMysql依赖包: 获取部署安装包: ```shell - wget https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/fisco-bcos-browser/releases/download/v2.2.5/browser-deploy.zip +# wget https:///FISCO-BCOS/fisco-bcos-browser/releases/download/v2.2.5/browser-deploy.zip ``` 解压安装包: diff --git a/2.x/docs/browser/web.md b/2.x/docs/browser/web.md index 9549fd33f..054cc2597 100644 --- a/2.x/docs/browser/web.md +++ b/2.x/docs/browser/web.md @@ -66,6 +66,7 @@ cd fisco-bcos-browser `注意:当且仅当get_solc_js.sh脚本执行失败才需要执行下面的命令` ```shell + #TODO: curl -#L https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/WeBASE/download/solidity/wasm/v0.4.25.js -o ./dist/static/js/v0.4.25.js curl -#L https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/WeBASE/download/solidity/wasm/v0.4.25-gm.js -o ./dist/static/js/v0.4.25-gm.js curl -#L https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/WeBASE/download/solidity/wasm/v0.5.2.js -o ./dist/static/js/v0.5.2.js diff --git a/2.x/docs/console/console_of_java_sdk.md b/2.x/docs/console/console_of_java_sdk.md index 1357138be..b404dbc55 100644 --- a/2.x/docs/console/console_of_java_sdk.md +++ b/2.x/docs/console/console_of_java_sdk.md @@ -70,8 +70,8 @@ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/downloa ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,0.5版本请尝试命令: `https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh && bash download_console.sh -v 0.5` - 0.6版本请尝试命令: `https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh && bash download_console.sh -v 0.6` + - 如果因为网络问题导致长时间无法下载,0.5版本请尝试命令: `https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh -v 0.5` + 0.6版本请尝试命令: `https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh -v 0.6` ``` diff --git a/2.x/docs/installation.md b/2.x/docs/installation.md index 06d357cda..78e46edc2 100644 --- a/2.x/docs/installation.md +++ b/2.x/docs/installation.md @@ -66,10 +66,10 @@ cd ~ && mkdir -p fisco && cd fisco ## 下载脚本 curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/build_chain.sh && chmod u+x build_chain.sh ``` - ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.11.0/build_chain.sh && chmod u+x build_chain.sh` + - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/build_chain.sh && chmod u+x build_chain.sh` + ``` ![](./../images/installation/download_build_chain.gif) diff --git a/2.x/docs/manual/account.md b/2.x/docs/manual/account.md index 86513c939..190a1ca93 100644 --- a/2.x/docs/manual/account.md +++ b/2.x/docs/manual/account.md @@ -30,7 +30,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` ``` 国密版本请使用下面的指令获取脚本 @@ -41,8 +41,8 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h` - - get_gm_account需要下载tassl,如果无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/tassl-1.0.2/tassl.tar.gz` ,解压放在~/.fisco/tassl,1.0.9及以下版本放在~/.tassl + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h` + - get_gm_account需要下载tassl,如果无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/tassl.tar.gz` ,解压放在~/.fisco/tassl,1.0.9及以下版本放在~/.tassl ``` 执行上面的指令,看到如下输出则下载到了正确的脚本,否则请重试。 diff --git a/2.x/docs/manual/distributed_storage.md b/2.x/docs/manual/distributed_storage.md index cc01be4dc..533df29c0 100644 --- a/2.x/docs/manual/distributed_storage.md +++ b/2.x/docs/manual/distributed_storage.md @@ -253,7 +253,7 @@ cd ~/fisco curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh # 若因为网络问题导致长时间无法执行上面的命令,请尝试下面的命令: -https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh +https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh bash download_console.sh cp -n console/conf/config-example.toml console/conf/config.toml diff --git a/2.x/docs/manual/group_use_cases.md b/2.x/docs/manual/group_use_cases.md index 6363b175b..f0704f6da 100644 --- a/2.x/docs/manual/group_use_cases.md +++ b/2.x/docs/manual/group_use_cases.md @@ -238,7 +238,7 @@ $ cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh # 若因为网络问题导致长时间无法执行上面的命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh && bash download_console.sh +$ https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh # 进入控制台操作目录 $ cd console @@ -626,7 +626,7 @@ $ cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh # 若因为网络问题导致长时间无法执行上面的命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh && bash download_console.sh +$ https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh ``` **配置控制台** diff --git a/2.x/docs/sdk/java_sdk/make_transaction.md b/2.x/docs/sdk/java_sdk/make_transaction.md index 5f136e677..95ac74e94 100644 --- a/2.x/docs/sdk/java_sdk/make_transaction.md +++ b/2.x/docs/sdk/java_sdk/make_transaction.md @@ -24,7 +24,7 @@ $ mkdir -p ~/fisco && cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh # 若因为网络问题导致长时间无法执行以上命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh +$ https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh $ bash download_console.sh ``` diff --git a/2.x/docs/sdk/java_sdk/quick_start.md b/2.x/docs/sdk/java_sdk/quick_start.md index d85512570..464af329e 100644 --- a/2.x/docs/sdk/java_sdk/quick_start.md +++ b/2.x/docs/sdk/java_sdk/quick_start.md @@ -111,7 +111,7 @@ $ mkdir -p ~/fisco && cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh # 若因为网络问题导致长时间无法执行以上命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh +$ https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh $ bash download_console.sh $ cd ~/fisco/console diff --git a/2.x/docs/tutorial/cdn.md b/2.x/docs/tutorial/cdn.md index 28e271728..4e23b063f 100644 --- a/2.x/docs/tutorial/cdn.md +++ b/2.x/docs/tutorial/cdn.md @@ -51,9 +51,9 @@ FISCO BCOS国密版本需要使用TASSL生成国密版本的证书,部署工 FISCO BCOS在国密模式下使用sm2曲线和对应签名算法,在非国密场景使用secp256k1曲线和ecdsa签名算法。为方便用户提供了生成脚本,脚本生成私钥并以账户地址命名,支持PEM和PKCS12两种格式。详情请参考这里[https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/account.html](https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/account.html) -get_account.sh脚本依赖于openssl指令,用于生成secp256k1私钥,如果从GitHub下载失败,可以尝试镜像地址[https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh) +get_account.sh脚本依赖于openssl指令,用于生成secp256k1私钥,如果从GitHub下载失败,可以尝试镜像地址[https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh](https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh) -get_gm_account.sh脚本用于生成sm2私钥,依赖于TASSL。如果从GitHub下载失败,可以尝试镜像地址[https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh) +get_gm_account.sh脚本用于生成sm2私钥,依赖于TASSL。如果从GitHub下载失败,可以尝试镜像地址[https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh](https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh) ## 举例:使用国内镜像建链 @@ -66,7 +66,7 @@ get_gm_account.sh脚本用于生成sm2私钥,依赖于TASSL。如果从GitHub curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/build_chain.sh ``` -如果下载失败请尝试`curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.11.0/build_chain.sh` +如果下载失败请尝试`curl -#LO https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/build_chain.sh` ### 下载二进制程序 diff --git a/2.x/docs/tutorial/sdk_application.md b/2.x/docs/tutorial/sdk_application.md index b7fda41a3..becbeeaa0 100644 --- a/2.x/docs/tutorial/sdk_application.md +++ b/2.x/docs/tutorial/sdk_application.md @@ -387,7 +387,7 @@ $ tar -zxf asset-app.tar.gz ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试将`199.232.28.133 raw.githubusercontent.com`追加到`/etc/hosts`中,或者请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/asset-app.tar.gz` + - 如果因为网络问题导致长时间无法下载,请尝试将`199.232.28.133 raw.githubusercontent.com`追加到`/etc/hosts`中,或者请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/asset-app-demo/releases/download/v0.0.1/asset-app.tar.gz` ``` ![](../../images/tutorial/download_asset.png) diff --git a/2.x/en/docs/manual/account.md b/2.x/en/docs/manual/account.md index 43e8d1bbe..d8ab0b170 100644 --- a/2.x/en/docs/manual/account.md +++ b/2.x/en/docs/manual/account.md @@ -27,7 +27,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/ ```eval_rst .. note:: - If the get_account.sh script cannot be downloaded for a long time due to network problems, try `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master-2.0/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` - - Please use `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/tassl-1.0.2/tassl.tar.gz`, and place in `~/.fisco/tassl` + - Please use `curl -#LO https://gitee.com/FISCO-BCOS/console/releases/download/v2.9.2/tassl.tar.gz`, and place in `~/.fisco/tassl` ``` If you use guomi version fisco, please execute below command to get `get_gm_account.sh` diff --git a/2.x/en/docs/tutorial/sdk_application.md b/2.x/en/docs/tutorial/sdk_application.md index 568d5e5b6..887d85c58 100644 --- a/2.x/en/docs/tutorial/sdk_application.md +++ b/2.x/en/docs/tutorial/sdk_application.md @@ -324,7 +324,7 @@ $ tar -zxf asset-app.tar.gz ```eval_rst .. note:: - - If the asset-app.tar.gz cannot be downloaded for a long time due to network problems, try `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/asset-app.tar.gz` + - If the asset-app.tar.gz cannot be downloaded for a long time due to network problems, try `curl -#LO https://gitee.com/FISCO-BCOS/asset-app-demo/releases/download/v0.0.1/asset-app.tar.gz` ``` The directory structure of the asset-app project is as follows: diff --git a/3.x/zh_CN/conf.py b/3.x/zh_CN/conf.py index e8252e374..d8020d241 100644 --- a/3.x/zh_CN/conf.py +++ b/3.x/zh_CN/conf.py @@ -87,7 +87,7 @@ # The short X.Y version. version = '3.0' # The full version, including alpha/beta/rc tags. -release = 'v3.9.0' +release = 'v3.11.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -369,12 +369,12 @@ def replace_source(app, exception): for file in files: if file.endswith('.html'): html_path = os.path.join(root, file) - + with open(html_path, 'r') as file: lines = file.readlines() new_lines = [line.replace('https://unpkg.com', 'https://npm.onmicrosoft.cn') for line in lines] - new_lines = [line.replace('https://cdnjs.cloudflare.com', 'https://cdn.bootcdn.net') for line in new_lines] + new_lines = [line.replace('https://cdnjs.cloudflare.com', 'https://cdn.bootcdn.net') for line in new_lines] with open(html_path, 'w') as file: file.writelines(new_lines) diff --git "a/3.x/zh_CN/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" "b/3.x/zh_CN/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" index 59ec3e73d..9e4dfd3c5 100644 --- "a/3.x/zh_CN/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" +++ "b/3.x/zh_CN/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" @@ -29,7 +29,7 @@ bash build_chain.sh -l 127.0.0.1 -p 30300,20200,8545 [INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.9.0/fisco-bcos.tar.gz ... curl: (7) Failed to connect to github.com port 443: Connection refused ` -[INFO] Download speed is too low, try https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.9.0/fisco-bcos.tar.gz +[INFO] Download speed is too low, try https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.9.0/fisco-bcos.tar.gz 这里讲了我们去访问GitHub中下载FISCO-BCOS的压缩包,结果发现链接失败所以跳转到国内的码云中去下载 diff --git a/3.x/zh_CN/docs/develop/account.md b/3.x/zh_CN/docs/develop/account.md index bb66faa45..f34d9c219 100644 --- a/3.x/zh_CN/docs/develop/account.md +++ b/3.x/zh_CN/docs/develop/account.md @@ -30,7 +30,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master/tools/get_ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` ``` 国密版本请使用下面的指令获取脚本 @@ -41,7 +41,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master/tools/get_ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h` ``` 执行上面的指令,看到如下输出则下载到了正确的脚本,否则请重试。 diff --git a/3.x/zh_CN/docs/develop/committee_usage.md b/3.x/zh_CN/docs/develop/committee_usage.md index 904877537..dac074358 100644 --- a/3.x/zh_CN/docs/develop/committee_usage.md +++ b/3.x/zh_CN/docs/develop/committee_usage.md @@ -33,7 +33,7 @@ FISCO BCOS Air版的建链部署工具详情请参考:[Air版部署工具](../ ## 如果使用-A选项,则开启权限设置,并且随机生成一个账户地址,作为初始化治理委员的唯一admin账户 bash build_chain.sh -l 127.0.0.1:4 -o nodes -A -[INFO] Downloading fisco-bcos binary from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.0.0/fisco-bcos-linux-x86_64.tar.gz ... +[INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/v3.0.0/fisco-bcos-linux-x86_64.tar.gz ... ######################################################################## 100.0% [INFO] Generate ca cert successfully! Processing IP:127.0.0.1 Total:4 @@ -42,7 +42,7 @@ Processing IP:127.0.0.1 Total:4 [INFO] Generate nodes/127.0.0.1/node1/conf cert successful! [INFO] Generate nodes/127.0.0.1/node2/conf cert successful! [INFO] Generate nodes/127.0.0.1/node3/conf cert successful! -[INFO] Downloading get_account.sh from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh... +[INFO] Downloading get_account.sh from https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh... ######################################################################## 100.0% [INFO] Generate uuid success: 4cf39d8a-9f9f-43d0-baa4-3b89d6c9e013 [INFO] Generate uuid success: 16d14ff1-b3f0-4104-8b3e-1bb5faf0ee12 diff --git a/3.x/zh_CN/docs/introduction/change_log/3_11_0.md b/3.x/zh_CN/docs/introduction/change_log/3_11_0.md new file mode 100644 index 000000000..c3d94b608 --- /dev/null +++ b/3.x/zh_CN/docs/introduction/change_log/3_11_0.md @@ -0,0 +1,100 @@ +# v3.11.0 + +## 新增 + +- 新增自动清理过期的Nonce列表。相关PR:[#4465](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/4465) +- 新增`[log].rotate_time_point`支持设置日志滚动时间。相关PR:[#4465](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/4465) +- 支持快照生成和导入功能。相关PR:[#4471](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/4471) +- 支持通过p2p同步归档区块的交易和收据。相关PR:[#4556](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/4556) +- 支持区块和状态数据分离存储。相关PR:[#4552](https://github.com/FISCO-BCOS/FISCO-BCOS/pull/4552) + +## 修复 + +无 + +## 兼容性说明 + +### 兼容版本 + +需要升级的链的“数据兼容版本号([compatibility_version](#id5))”为如下版本时: + +* 3.4.x、3.5.x,3.6.x、3.7.x、3.8.x、3.9.x、3.10.x:数据完全兼容当前版本,直接替换二进制即可完成升级 +* 3.3.x、3.2.x、3.1.x、3.0.x:支持通过替换二进制进行灰度升级,若需使用当前版本的新特性,需升级数据兼容版本号,操作见[文档](#id5) +* 3.0-rc x:数据不兼容,无法升级,可考虑逐步将业务迁移至3.x正式版 +* 2.x:数据不兼容,2.x版本仍持续维护,可考虑升级为2.x的最新版本 + +### 实验功能 + +效果:通过feature开关控制实验功能的开启 + +操作:升级节点可执行程序后,通过控制台命令`setSystemConfigByKey 1` 开启对应实验功能,具体操作见文档升级方法部分 + +注意事项: + +* feature操作不可逆,打开后不可关闭 +* 需确认所有可执行程序版本相同后,再进行feature开启操作 + +| | Feature 名 | 默认状态 | 说明 | +|--------------|----------------------------|------|--------------------------------------------| +| 资产管理 | feature_balance | 关:0 | 默认关闭 | +| 资产操作预编译合约 | feature_balance_precompile | 关:0 | 默认关闭 | +| 计费模式 | feature_policy1 | 关:0 | 默认关闭 | +| 块内分片 | feature_sharding | 关:0 | 默认关闭,仅在从3.3、3.4升级至当前版本时,feature_sharding打开 | +| 同态加密 | feature_paillier | 关:0 | 默认关闭 | +| rpbft共识 | feature_rpbft | 关:0 | 默认关闭 | +| EVM升级至CANCUN | feature_evm_cancun | 关:0 | 默认关闭 | +| bug修复 | bugfix_\ | 开:1 | 从低版本升级默认关闭 | + +**组件兼容性** + +| | 推荐版本 | 最低版本 | 说明 | +|------------|-------------|---------------------|-------------------| +| WeBASE | 3.0.2 | 3.0.2 | | +| WeIdentity | v3.0.0-rc.1 | v3.0.0-rc.1 | | +| Console | 3.8.0 | 3.0.0 | | +| Java SDK | 3.8.0 | 3.0.0 | | +| CPP SDK | 3.8.0 | 3.0.0 | | +| Solidity | 0.8.26 | 最低 0.4.25,最高 0.8.26 | 需根据合约版本下载编译器(控制台) | +| WBC-Liquid | 1.0.0-rc3 | 1.0.0-rc3 | | + +#### 升级方法 + +该操作仅支持将3.x版本升级为本版本,不支持3.0-rc或2.x的升级。 + +##### 查询数据兼容版本号(compatibility_version) + +用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/operation_and_maintenance/console/console_commands.html#getsystemconfigbykey) +进行查询,如当前返回的版本为3.9.0 + +``` +[group0]: /apps> getSystemConfigByKey compatibility_version +3.9.0 +``` + +##### 替换节点二进制 + +需将**所有节点** 的二进制逐步替换为当前版本。为了不影响业务,替换过程能够以灰度方式进行,逐个替换并重启节点。替换过程中,当前的链仍然会以旧的数据兼容版本号的逻辑继续执行。当所有节点二进制替换完成并重启后,需用控制台修改数据兼容版本号为当前版本。 + +##### 设置数据兼容版本号(compatibility_version) + +用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/operation_and_maintenance/console/console_commands.html#setsystemconfigbykey) +设置数据兼容版本号,如当前版本为3.11.0。 + +```bash +[group0]: /apps> setSystemConfigByKey compatibility_version 3.11.0 +{ + "code":0, + "msg":"success" +} + +注:若开启权限治理功能,需要使用 setSysConfigProposal 命令 +``` + +设置成功,再次查询,得到当前版本已升级为3.11.0 + +``` +[group0]: /apps> getSystemConfigByKey compatibility_version +3.11.0 +``` + +当前链已经完成升级,至此,**链开始以新的逻辑继续运行**,并支持了新的特性。 diff --git a/3.x/zh_CN/docs/introduction/change_log/index.rst b/3.x/zh_CN/docs/introduction/change_log/index.rst index f6815ea88..40d881164 100644 --- a/3.x/zh_CN/docs/introduction/change_log/index.rst +++ b/3.x/zh_CN/docs/introduction/change_log/index.rst @@ -21,6 +21,28 @@ FISCO BCOS 设计 Feature控制特性功能开启关闭,用户可以根据自 :maxdepth: 0 upgrade.md + +v3.11.x +------------------ + +.. admonition:: FISCO BCOS 3.x Releases + + - `FISCO BCOS v3.11.0 <./3_11_0.html>`_ [`release `_] + +.. admonition:: 查看节点和数据版本 + + - 查看Air版本FISCO BCOS节点二进制版本:``./fisco-bcos --version`` + - 查看Pro版本FISCO BCOS节点二进制版本:``./BcosNodeService --version``, ``./BcosRpcService --version``, ``./BcosGatewayService --version`` + - 查看Max版本FISCO BCOS节点二进制版本:``./BcosMaxNodeService --version``, ``./BcosRpcService --version``, ``./BcosGatewayService --version``, ``./BcosExecutorService --version`` + - 查看轻节点二进制版本:``../fisco-bcos-lightnode --version`` + - 查看轻节点相关文档,请参考 [`轻节点搭建工具 `_] + +.. toctree:: + :hidden: + :maxdepth: 0 + + 3_11_0.md + v3.10.x ------------------ @@ -179,7 +201,7 @@ v3.3.x .. admonition:: FISCO BCOS 3.x Releases - `FISCO BCOS v3.3.0 <./3_3_0.html>`_ [`release `_] - + .. admonition:: 查看节点和数据版本 @@ -209,7 +231,7 @@ v3.2.x - `FISCO BCOS v3.2.2 <./3_2_2.html>`_ [`release `_] - `FISCO BCOS v3.2.1 <./3_2_1.html>`_ [`release `_] - `FISCO BCOS v3.2.0 <./3_2_0.html>`_ [`release `_] - + .. admonition:: 查看节点和数据版本 @@ -241,7 +263,7 @@ v3.1.x - `FISCO BCOS v3.1.2 <./3_1_2.html>`_ [`release `_] - `FISCO BCOS v3.1.1 <./3_1_1.html>`_ [`release `_] - `FISCO BCOS v3.1.0 <./3_1_0.html>`_ [`release `_] - + .. admonition:: 查看节点和数据版本 @@ -265,7 +287,7 @@ v3.0.x - `FISCO BCOS v3.0.1 <./3_0_1.html>`_ [`release `_] - `FISCO BCOS v3.0.0 <./3_0_0.html>`_ [`release `_] - + .. admonition:: 查看节点和数据版本 @@ -287,7 +309,7 @@ v3.0.0-rc4 .. admonition:: FISCO BCOS 3.x Releases - `FISCO BCOS v3.0.0-rc4 <./3_0_0_rc4.html>`_ [`release `_] - + .. admonition:: 查看节点和数据版本 @@ -309,9 +331,9 @@ v3.0.0-rc3 .. admonition:: FISCO BCOS 3.x Releases - `FISCO BCOS v3.0.0-rc3 <./3_0_0_rc3.html>`_ [`release `_] - + - v3.0.0-rc3不包括 ``FISCO BCOS Max`` 版本,Max版本的FISCO BCOS会在后续版本中推出 - + .. admonition:: 查看节点和数据版本 @@ -332,9 +354,9 @@ v3.0.0-rc2 .. admonition:: FISCO BCOS 3.x Releases - `FISCO BCOS v3.0.0-rc2 <./3_0_0_rc2.html>`_ [`release `_] - + - v3.0.0-rc2不包括 ``FISCO BCOS Max`` 版本,Max版本的FISCO BCOS会在后续版本中推出 - + .. admonition:: 查看节点和数据版本 @@ -356,7 +378,7 @@ v3.0.0-rc1 .. admonition:: FISCO BCOS 3.x Releases - `FISCO BCOS v3.0.0-rc1 <./3_0_0_rc1.html>`_ [`release `_] - + - v3.0.0-rc1不包括 ``FISCO BCOS Max`` 版本,Max版本的FISCO BCOS会在后续版本中推出 .. admonition:: 查看节点和数据版本 diff --git a/3.x/zh_CN/docs/operation_and_maintenance/committee_usage.md b/3.x/zh_CN/docs/operation_and_maintenance/committee_usage.md index 3f4f1498d..c4fac0333 100644 --- a/3.x/zh_CN/docs/operation_and_maintenance/committee_usage.md +++ b/3.x/zh_CN/docs/operation_and_maintenance/committee_usage.md @@ -39,7 +39,7 @@ FISCO BCOS Air版的建链部署工具详情请参考:[Air版部署工具](../ ## 如果使用-A选项,则开启权限设置,并且随机生成一个账户地址,作为初始化治理委员的唯一admin账户 bash build_chain.sh -l 127.0.0.1:4 -o nodes -A -[INFO] Downloading fisco-bcos binary from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.0.0/fisco-bcos-linux-x86_64.tar.gz ... +[INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/v3.0.0/fisco-bcos-linux-x86_64.tar.gz ... ######################################################################## 100.0% [INFO] Generate ca cert successfully! Processing IP:127.0.0.1 Total:4 @@ -48,7 +48,7 @@ Processing IP:127.0.0.1 Total:4 [INFO] Generate nodes/127.0.0.1/node1/conf cert successful! [INFO] Generate nodes/127.0.0.1/node2/conf cert successful! [INFO] Generate nodes/127.0.0.1/node3/conf cert successful! -[INFO] Downloading get_account.sh from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh... +[INFO] Downloading get_account.sh from https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh... ######################################################################## 100.0% [INFO] Generate uuid success: 4cf39d8a-9f9f-43d0-baa4-3b89d6c9e013 [INFO] Generate uuid success: 16d14ff1-b3f0-4104-8b3e-1bb5faf0ee12 diff --git a/3.x/zh_CN/docs/operation_and_maintenance/snapshot.md b/3.x/zh_CN/docs/operation_and_maintenance/snapshot.md new file mode 100644 index 000000000..daaba3dd8 --- /dev/null +++ b/3.x/zh_CN/docs/operation_and_maintenance/snapshot.md @@ -0,0 +1,111 @@ +# 15. 快照功能 + +标签:``运维``,``快照`` + +--- + +## 简介 + +v3.11.0开始支持了快照的导入和导出功能,快照功能可以帮助用户快速备份和恢复链上数据,当新节点加入时也可以通过快照减少同步到最新状态所需要的时间。 + +## 生成快照 + +### 生成完整快照 + +生成完整快照是将区块链上的状态数据、交易和收据完整的导出,快照的大小与节点数据目录(例如`./data`)的大小相近,生成快照的时间与数据目录的大小成正比。操作命令如下,其中`-s`表示是否携带交易与收据,`-o`表示快照的输出目录: + +```bash +# 生成完整快照,要在节点目录下执行 +../fisco-bcos -s true -o ./ +``` + +输出如下: + +```bash +[2024-08-26 16:41:07] generating snapshot to ./ ... +current block number: 7883 +Traverse RocksDB: data +".//snapshot/state/000000.sst" Finished. 1 +".//snapshot/block/000000.sst" Finished. 2 +generate snapshot success, the snapshot is in .//snapshot +[2024-08-26 16:41:09] generate snapshot success. +``` + +产生的快照位于输出目录下,例如`./snapshot`。 + +```bash +$ ls snapshot +block meta state +``` + +snapshot目录下包含了三个文件夹,分别是`block`、`meta`和`state`,其中: + +- `block`文件夹包含区块中的交易和收据数据 +- `meta`文件夹包含了快照的元信息 +- `state`文件夹包含了区块链的状态数据 + +### 生成状态快照,不包含历史区块的交易和收据 + +生成状态快照是将区块链上的状态数据导出,不包含历史区块的交易和收据,相比于完整快照,状态快照的空间占用会小很多。操作命令如下,其中`-s`表示是否携带交易与收据,`-o`表示快照的输出目录: + +```bash +# 生成状态快照,要在节点目录下执行 +../fisco-bcos -s false -o ./ +``` + +输出如下: + +```bash +[2024-08-26 16:40:12] generating snapshot to ./ ... +current block number: 7883 +Traverse RocksDB: data +".//snapshot/state/000000.sst" Finished. 1 +generate snapshot success, the snapshot is in .//snapshot +[2024-08-26 16:40:12] generate snapshot success. +``` + +snapshot文件夹与完整快照类似,只是没有了block文件夹。 + +## 导入快照 + +导入快照功能可以从快照中恢复区块链的状态数据,导入快照的时间与快照的大小成正比。操作命令如下,其中`-i`表示快照的输入目录: + +```bash +# 导入快照,要在节点目录下执行 +../fisco-bcos -i ./snapshot +``` + +建议用户在通过快照生成新节点时,设置`config.ini`文件中`[storage].enable_separate_block_state=true`以避免快照导入过程中,可能出现的因为交易、收据和状态数据触发RocksDB的compaction,导致导入过程变慢。 + +导入过程中会提示用户选择导入方式,yes表示使用move模式,no表示使用copy模式,move模式会尝试移动快照中的文件,当可以移动时导入会很快,copy模式会拷贝快照中的数据,耗时取决于数据量大小。输出如下, + +```bash +[2024-08-26 16:41:52] importing snapshot from ./snapshot ... +The block number of snapshot: 7883 +the snapshot will be ingested into data, if yes the snapshot will be moved, if no the snapshot will be copy(yes/no) +no +check sst files success, ingest sst files +check sst files success, ingest sst files +The block number of this node: 7883 +[2024-08-26 16:42:14] import snapshot success. +``` + +## 归档区块同步 + +在支持快照的同时,节点`config.ini`新增了配置项`[storage].sync_archived_blocks`,默认值为`false`,当设置为`true`时,节点会通过p2p请求同步已经归档的区块。 + +节点执行过下面两种操作的任意一种,就会存在归档区块: + +- 节点从状态快照生成时,没有交易和收据的区块会被认为是归档区块。 +- 节点通过归档工具做过归档。 + +从这种节点可以查询区块头,但当查询归档区块中的交易和收据时,节点会返回错误。 + +## 历史nonce清理功能 + +FISCO BCOS会存储最近1000个区块中交易的nonce,用来防范交易重放攻击,v3.11.0版本新增了历史nonce清理功能,会自动清理掉超出最近1000个块的nonce列表,减小节点存储压力,例如当前块高为1001,则提交1002时,会自动清理块高2的nonce列表。同时在命令行添加了手动清理历史区块nonce列表的命令,操作命令如下: + +```bash +# 导入快照,要在节点目录下执行 +../fisco-bcos --prune +``` diff --git a/3.x/zh_CN/docs/quick_start/air_installation.md b/3.x/zh_CN/docs/quick_start/air_installation.md index 90ca2336c..5b1b77b46 100644 --- a/3.x/zh_CN/docs/quick_start/air_installation.md +++ b/3.x/zh_CN/docs/quick_start/air_installation.md @@ -49,7 +49,7 @@ sudo yum install -y curl openssl openssl-devel wget ```eval_rst .. note:: - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.10.0/build_chain.sh && chmod u+x build_chain.sh + 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 curl -#LO https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh ``` ```shell @@ -57,10 +57,10 @@ sudo yum install -y curl openssl openssl-devel wget cd ~ && mkdir -p fisco && cd fisco # 下载建链脚本 -curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh # Note: 若访问git网速太慢,可尝试如下命令下载建链脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.10.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh ``` ### 第三步. 搭建4节点非国密联盟链 @@ -97,7 +97,7 @@ writing RSA key [INFO] Generate ./nodes/127.0.0.1/node2/conf cert successful! writing RSA key [INFO] Generate ./nodes/127.0.0.1/node3/conf cert successful! -[INFO] Downloading get_account.sh from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh... +[INFO] Downloading get_account.sh from https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh... ############################################################################################################################################################### 100.0% [INFO] Admin account: 0x4c7239cfef6d41b7322c1567f082bfc65c69acc5 [INFO] Generate uuid success: 167A2233-5444-4CA4-8792-C8E68130D5FC diff --git a/3.x/zh_CN/docs/quick_start/solidity_application.md b/3.x/zh_CN/docs/quick_start/solidity_application.md index e6f7faccc..f17bbab53 100644 --- a/3.x/zh_CN/docs/quick_start/solidity_application.md +++ b/3.x/zh_CN/docs/quick_start/solidity_application.md @@ -432,7 +432,7 @@ repositories { url "http://maven.aliyun.com/nexus/content/groups/public/" } maven { - url "https://oss.sonatype.org/content/repositories/snapshots" + url "https://oss.sonatype.org/content/repositories/snapshots" } } @@ -564,7 +564,7 @@ $ cp -r nodes/127.0.0.1/sdk/* asset-app-3.0/src/main/resources/conf ### 第一步.将3编译好的Java合约引入项目中 ```shell -cd ~/fisco +cd ~/fisco # 将编译好的合约Java类引入项目中。 cp console/contracts/sdk/java/org/fisco/bcos/asset/contract/Asset.java asset-app-3.0/src/main/java/org/fisco/bcos/asset/contract/Asset.java ``` @@ -782,7 +782,7 @@ public class AssetClient { 初始化代码的主要功能为构造Client与CryptoKeyPair对象,这两个对象在创建对应的合约类对象(调用合约类的deploy或者load函数)时需要使用。 ```java -// 函数initialize中进行初始化 +// 函数initialize中进行初始化 // 初始化BcosSDK @SuppressWarnings("resource") ApplicationContext context = @@ -821,9 +821,9 @@ TransactionReceipt receipt = asset.transfer(fromAssetAccount, toAssetAccount, am 在``asset-app-3.0/tool``目录下添加一个调用AssetClient的脚本``asset_run.sh``。 ```shell -#!/bin/bash +#!/bin/bash -function usage() +function usage() { echo " Usage : " echo " bash asset_run.sh deploy" diff --git a/3.x/zh_CN/docs/sdk/c_sdk/dylibs.md b/3.x/zh_CN/docs/sdk/c_sdk/dylibs.md index 8fe0f4309..aed3c54c4 100644 --- a/3.x/zh_CN/docs/sdk/c_sdk/dylibs.md +++ b/3.x/zh_CN/docs/sdk/c_sdk/dylibs.md @@ -100,19 +100,19 @@ - bcos-c-sdk.dll # windows dll - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/bcos-c-sdk.dll) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/bcos-c-sdk.dll) + - [CDN下载](https://gitee.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/bcos-c-sdk.dll) - bcos-c-sdk.lib # windows dll symbol - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/bcos-c-sdk.lib) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/bcos-c-sdk.lib) + - [CDN下载](https://gitee.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/bcos-c-sdk.lib) - libbcos-c-sdk-aarch64.so # linux arm64 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk-aarch64.so) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk-aarch64.so) + - [CDN下载](https://gitee.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk-aarch64.so) - libbcos-c-sdk.so # linux x64 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk.so) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk.so) + - [CDN下载](https://gitee.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk.so) - libbcos-c-sdk-aarch64.dylib # mac m1 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk-aarch64.dylib) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk-aarch64.dylib) + - [CDN下载](https://gitee.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk-aarch64.dylib) - libbcos-c-sdk.dylib # mac x64 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk.dylib) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk.dylib) + - [CDN下载](https://gitee.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk.dylib) diff --git a/3.x/zh_CN/docs/tutorial/air/build_chain.md b/3.x/zh_CN/docs/tutorial/air/build_chain.md index 9fd559169..f5d71dd9e 100644 --- a/3.x/zh_CN/docs/tutorial/air/build_chain.md +++ b/3.x/zh_CN/docs/tutorial/air/build_chain.md @@ -27,10 +27,10 @@ FISCO BCOS提供了`build_chain.sh`脚本帮助用户快速搭建FISCO BCOS联 ```shell # 下载建链脚本 -curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh # Note: 若访问git网速太慢,可尝试如下命令下载建链脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/build_chain.sh && chmod u+x build_chain.sh # 键入bash build_chain.sh -h展示脚本用法及参数 $ bash build_chain.sh diff --git a/3.x/zh_CN/docs/tutorial/air/config.md b/3.x/zh_CN/docs/tutorial/air/config.md index 0a6250c3c..ddb5051c8 100644 --- a/3.x/zh_CN/docs/tutorial/air/config.md +++ b/3.x/zh_CN/docs/tutorial/air/config.md @@ -220,15 +220,37 @@ RPC配置示例如下: 存储配置位于`[storage]`,具体包括: +- `[storage].typs`: 区块链节点数据库类型,默认为RocksDB,支持TiKV,当配置TiKV时,需要对应配置`pd_addrs`,`pd_ssl_ca_path`,`pd_ssl_cert_path`,`pd_ssl_key_path`等参数; - `[storage].data_path`: 区块链节点数据存储路径,默认为data; - `[storage].enable_cache`: 是否开启缓存,默认为`true`; -- `[storage].key_page_size`: KeyPage存储方案中,存储页大小,单位是字节,要求不小于`4096`(4KB),默认为`10240`(10KB); +- `[storage].key_page_size`: KeyPage存储方案中,存储页大小,单位是字节,要求不小于`4096`(4KB),默认为`10240`(10KB);此配置项可修改为0,表示关闭keypage以获得更好的写入性能,如果已有节点修改此配置项为0,则需要清理数据重新同步区块链数据; +- `[storage].pd_addrs`: TiKV存储时,PD地址,多个地址用逗号分隔; +- `[storage].pd_ssl_ca_path`: TiKV存储时,PD SSL CA证书路径; +- `[storage].pd_ssl_cert_path`: TiKV存储时,PD SSL证书路径; +- `[storage].pd_ssl_key_path`: TiKV存储时,PD SSL私钥路径; +- `[storage].enable_archive`: 是否开启归档服务,默认为`false`; +- `[storage].archive_ip`: 归档服务监听的IP; +- `[storage].archive_port`: 归档服务监听的端口; +- `[storage].enable_separate_block_state`: 当使用RocksDB时是否开启区块状态分离,开启后交易收据会存放在另一个单独的数据库中以获得更好的性能,默认为`false`; +- `[storage].sync_archived_blocks`: 是否同步归档区块,默认为`false`,开启后会通过p2p同步已经归档的历史区块的交易和收据。 ```ini [storage] + ; type can be tikv or rocksdb + type=rocksdb data_path=data enable_cache=true + ; The granularity of the storage page, in bytes, must not be less than 4096 Bytes, the default is 10240 Bytes (10KB) key_page_size=10240 + pd_addrs=127.0.0.1:2379 + pd_ssl_ca_path= + pd_ssl_cert_path= + pd_ssl_key_path= + enable_archive=false + archive_ip= + archive_port= + ;enable_separate_block_state=false + ;sync_archived_blocks=false ``` ### 2.6 配置落盘加密 @@ -277,6 +299,7 @@ FISCO BCOS支持功能强大的[boostlog](https://www.boost.org/doc/libs/1_63_0/ - `[log].log_path`:日志文件路径。 - `[log].level`: 日志级别,当前主要包括`trace`、`debug`、`info`、`warning`、`error`五种日志级别,设置某种日志级别后,日志文件中会输大于等于该级别的日志,日志级别从大到小排序`error > warning > info > debug > trace`。 - `[log].max_log_file_size`:每个日志文件最大容量,**计量单位为MB,默认为200MB**。 +- `[log].rotate_time_point`:日志滚动时间点,**默认为00:00:00**。 日志配置示例如下: diff --git a/3.x/zh_CN/docs/tutorial/air/multihost.md b/3.x/zh_CN/docs/tutorial/air/multihost.md index 80e020c48..4799e4cff 100644 --- a/3.x/zh_CN/docs/tutorial/air/multihost.md +++ b/3.x/zh_CN/docs/tutorial/air/multihost.md @@ -31,7 +31,7 @@ mkdir -p ~/fisco && cd ~/fisco ./download_bin.sh -v 3.4.0 # 下载开发部署工具build_chain -curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh ``` **生成多机节点配置** diff --git a/3.x/zh_CN/docs/tutorial/air/storage_security.md b/3.x/zh_CN/docs/tutorial/air/storage_security.md index 43cf7089f..019293a29 100644 --- a/3.x/zh_CN/docs/tutorial/air/storage_security.md +++ b/3.x/zh_CN/docs/tutorial/air/storage_security.md @@ -1,6 +1,6 @@ # 部署落盘加密节点 -标签:``存储安全`` ``存储加密`` ``落盘加密`` +标签:``存储安全`` ``存储加密`` ``落盘加密`` ---- @@ -25,12 +25,12 @@ 下载`build_chain.sh`脚本 ``` shell -curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh ``` ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/build_chain.sh && chmod u+x build_chain.sh` + - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh` ``` 部署四个节点: @@ -133,8 +133,8 @@ $ bash encrypt_node_key.sh 127.0.0.1 8150 ../../nodes/127.0.0.1/node0/conf/node. - conf/ssl.key - conf/node.pem - 国密版 - - conf/sm_ssl.key - - conf/sm_enssl.key + - conf/sm_ssl.key + - conf/sm_enssl.key - conf/node.pem ## 6. 节点运行 diff --git a/3.x/zh_CN/docs/tutorial/air/use_hsm.md b/3.x/zh_CN/docs/tutorial/air/use_hsm.md index edea2ac68..8b093de6f 100644 --- a/3.x/zh_CN/docs/tutorial/air/use_hsm.md +++ b/3.x/zh_CN/docs/tutorial/air/use_hsm.md @@ -45,7 +45,7 @@ cmake .. || cat *.log ```bash cd ~/fisco -curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/build_chain.sh && chmod u+x build_chain.sh +curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/build_chain.sh && chmod u+x build_chain.sh ``` 在build_chain同级目录下,创建文件夹(例如nodeKeyDir),用于存放密码机密钥的node.pem文件(证书数目和搭建节点数一致)。 ```bash @@ -73,7 +73,7 @@ curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/buil ### 第四步. 启动节点 ```shell -./nodes/127.0.0.1/start_all.sh +./nodes/127.0.0.1/start_all.sh ``` 启动成功 ```shell diff --git a/3.x/zh_CN/docs/tutorial/docker.md b/3.x/zh_CN/docs/tutorial/docker.md index 21c859670..77f0f76b7 100644 --- a/3.x/zh_CN/docs/tutorial/docker.md +++ b/3.x/zh_CN/docs/tutorial/docker.md @@ -37,7 +37,7 @@ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/buil ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/build_chain.sh && chmod u+x build_chain.sh` + - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/build_chain.sh && chmod u+x build_chain.sh` ``` ## 3. 搭建单群组4节点区块链 @@ -68,7 +68,7 @@ writing RSA key [INFO] Generate ./nodes/127.0.0.1/node2/conf cert successful! writing RSA key [INFO] Generate ./nodes/127.0.0.1/node3/conf cert successful! -[INFO] Downloading get_account.sh from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh... +[INFO] Downloading get_account.sh from https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh... ######################################################################## 100.0% [INFO] Admin account: 0x7096372ddefadc3e70057e907f6ab6cf468838ac [INFO] Generate uuid success: e4640f4f-89ed-47fa-9693-695e96988ec2 diff --git a/3.x/zh_CN/docs/tutorial/max/installation.md b/3.x/zh_CN/docs/tutorial/max/installation.md index 913598eac..40018d5e7 100644 --- a/3.x/zh_CN/docs/tutorial/max/installation.md +++ b/3.x/zh_CN/docs/tutorial/max/installation.md @@ -45,7 +45,7 @@ brew install curl docker docker-compose python3 wget ```eval_rst .. note:: - 部署工具 ``BcosBuilder`` 配置和使用请参考 `这里 <./max_builder.html>`_ - - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz + - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz ``` ```shell @@ -53,10 +53,10 @@ brew install curl docker docker-compose python3 wget mkdir -p ~/fisco && cd ~/fisco # 下载区块链构建工具BcosBuilder -curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # Note: 若网速太慢,可尝试如下命令下载部署脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # 安装构建工具依赖包 cd BcosBuilder && pip3 install -r requirements.txt diff --git a/3.x/zh_CN/docs/tutorial/pro/installation.md b/3.x/zh_CN/docs/tutorial/pro/installation.md index 83879ab7b..589053d11 100644 --- a/3.x/zh_CN/docs/tutorial/pro/installation.md +++ b/3.x/zh_CN/docs/tutorial/pro/installation.md @@ -8,7 +8,7 @@ FISCO BCOS 3.x支持Pro版本微服务区块链架构,Pro版本FISCO BCOS包 ```eval_rst .. note:: - - Pro版本FISCO BCOS使用 ``BcosBuilder/pro`` 工具进行建链和扩容等相关操作,该工具的介绍请参考 `BcosBuilder <./pro_builder.html>`_ + - Pro版本FISCO BCOS使用 ``BcosBuilder/pro`` 工具进行建链和扩容等相关操作,该工具的介绍请参考 `BcosBuilder <./pro_builder.html>`_ - FISCO BCOS 3.x基于tars进行微服务构建和管理,搭建Pro版本FISCO BCOS之前,需先安装tars服务,本章介绍了docker版本tars服务的搭建流程,若需要了解更多tars部署、构建相关的信息,请参考 `这里 `_ - 本章基于Docker搭建tars服务,请确保系统用户拥有操作docker权限,并确保docker服务处于启动状态 ``` @@ -41,7 +41,7 @@ brew install curl docker docker-compose python3 wget ```eval_rst .. note:: - 部署工具 ``BcosBuilder`` 配置和使用请参考 `这里 <./pro_builder.html>`_ - - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz + - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz ``` ```shell @@ -49,10 +49,10 @@ brew install curl docker docker-compose python3 wget mkdir -p ~/fisco && cd ~/fisco # 下载Pro版区块链构建工具BcosBuilder -curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.10.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.11.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # Note: 若网速太慢,可尝试如下命令下载部署脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # 安装构建工具依赖包 cd BcosBuilder && pip3 install -r requirements.txt @@ -79,7 +79,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master/tools/get_ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh` ``` 国密版本请使用下面的指令获取脚本 @@ -90,7 +90,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master/tools/get_ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh` ``` 在执行之后有以下输出,使用的`init_auth_address`就是使用下面的`Account Address` @@ -290,7 +290,7 @@ upload tar package generated/./agencyBBcosRpcService.tgz success, config id: 15 ```shell $ tree generated/rpc/chain0 generated/rpc/chain0 -├── 172.25.0.3 +├── 172.25.0.3 │   ├── agencyABcosRpcService # 机构A的RPC服务目录 │   │   ├── config.ini.tmp # 机构A的RPC服务的配置文件 │   │   ├── sdk # SDK证书目录,SDK客户端可从本目录拷贝证书连接RPC服务 @@ -535,25 +535,25 @@ python3 build_chain.py chain -o deploy -t monitor 执行上述命令后,当脚本输出`deploy all nodes monitor success`时,则说明区块链节点服务部署成功,详细日志输出如下: ```shell -========================================================= ------------ deploy all nodes monitor ----------- ------------ generate graphna&prometheus config ----------- -* store monitor config - path: /root/xiao/pro/BcosBuilder/pro/../docker/host/linux/monitor/prometheus/prometheus.yml -* store monitor config success ------------ generate graphna&prometheus config success ----------- ------------ generate mtail config for group group0 ----------- +========================================================= +----------- deploy all nodes monitor ----------- +----------- generate graphna&prometheus config ----------- +* store monitor config + path: /root/xiao/pro/BcosBuilder/pro/../docker/host/linux/monitor/prometheus/prometheus.yml +* store monitor config success +----------- generate graphna&prometheus config success ----------- +----------- generate mtail config for group group0 ----------- * store mtail config for agencyAgroup0node0BcosNodeService - path: /root/app/tars/framework/app_log/chain0/agencyAgroup0node0BcosNodeService/mtail/node.mtail -* store mtail config for agencyAgroup0node0BcosNodeService success -* execute_ansible_copy_with_command pro path: + path: /root/app/tars/framework/app_log/chain0/agencyAgroup0node0BcosNodeService/mtail/node.mtail +* store mtail config for agencyAgroup0node0BcosNodeService success +* execute_ansible_copy_with_command pro path: * store mtail config for agencyBgroup0node0BcosNodeService - path: /root/app/tars/framework/app_log/chain0/agencyBgroup0node0BcosNodeService/mtail/node.mtail -* store mtail config for agencyBgroup0node0BcosNodeService success -* execute_ansible_copy_with_command pro path: ------------ generate mtail config for group group0 success ----------- ------------ deploy all nodes monitor success ----------- -========================================================= + path: /root/app/tars/framework/app_log/chain0/agencyBgroup0node0BcosNodeService/mtail/node.mtail +* store mtail config for agencyBgroup0node0BcosNodeService success +* execute_ansible_copy_with_command pro path: +----------- generate mtail config for group group0 success ----------- +----------- deploy all nodes monitor success ----------- +========================================================= ``` 部署过程中生成的监控服务相关的配置位于`/root/app/tars/framework/app_log`目录,具体如下: @@ -815,25 +815,25 @@ python3 build_chain.py chain -o deploy -t monitor 执行上述命令后,当脚本输出`deploy all nodes monitor success`时,则说明区块链节点服务部署成功,详细日志输出如下: ```shell -========================================================= ------------ deploy all nodes monitor ----------- ------------ generate graphna&prometheus config ----------- -* store monitor config - path: /home/fisco/BcosBuilder/pro/../docker/host/linux/monitor/prometheus/prometheus.yml -* store monitor config success ------------ generate graphna&prometheus config success ----------- ------------ generate mtail config for group group0 ----------- +========================================================= +----------- deploy all nodes monitor ----------- +----------- generate graphna&prometheus config ----------- +* store monitor config + path: /home/fisco/BcosBuilder/pro/../docker/host/linux/monitor/prometheus/prometheus.yml +* store monitor config success +----------- generate graphna&prometheus config success ----------- +----------- generate mtail config for group group0 ----------- * store mtail config for agencyAgroup0node0BcosNodeService - path: /home/fisco/app/tars/framework/app_log/chain0/agencyAgroup0node0BcosNodeService/mtail/node.mtail -* store mtail config for agencyAgroup0node0BcosNodeService success -* execute_ansible_copy_with_command pro path: + path: /home/fisco/app/tars/framework/app_log/chain0/agencyAgroup0node0BcosNodeService/mtail/node.mtail +* store mtail config for agencyAgroup0node0BcosNodeService success +* execute_ansible_copy_with_command pro path: * store mtail config for agencyBgroup0node0BcosNodeService - path: /home/fisco/app/tars/framework/app_log/chain0/agencyBgroup0node0BcosNodeService/mtail/node.mtail -* store mtail config for agencyBgroup0node0BcosNodeService success -* execute_ansible_copy_with_command pro path: ------------ generate mtail config for group group0 success ----------- ------------ deploy all nodes monitor success ----------- -========================================================= + path: /home/fisco/app/tars/framework/app_log/chain0/agencyBgroup0node0BcosNodeService/mtail/node.mtail +* store mtail config for agencyBgroup0node0BcosNodeService success +* execute_ansible_copy_with_command pro path: +----------- generate mtail config for group group0 success ----------- +----------- deploy all nodes monitor success ----------- +========================================================= ``` 部署过程中生成的监控服务相关的配置位于`/home/fisco/app/tars/framework/app_log`目录,具体如下: diff --git a/3.x/zh_CN/docs/tutorial/pro/installation_without_tars.md b/3.x/zh_CN/docs/tutorial/pro/installation_without_tars.md index 0836c6c04..08b166d6d 100644 --- a/3.x/zh_CN/docs/tutorial/pro/installation_without_tars.md +++ b/3.x/zh_CN/docs/tutorial/pro/installation_without_tars.md @@ -41,7 +41,7 @@ brew install curl python3 wget ```eval_rst .. note:: - 部署工具 ``BcosBuilder`` 配置和使用请参考 `这里 <./pro_builder.html>`_ - - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz + - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz ``` ```shell @@ -52,7 +52,7 @@ mkdir -p ~/fisco && cd ~/fisco curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # Note: 若网速太慢,可尝试如下命令下载部署脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.6.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # 安装构建工具依赖包 cd BcosBuilder && pip3 install -r requirements.txt diff --git a/3.x/zh_CN/index.rst b/3.x/zh_CN/index.rst index 92c5cf28b..639e5ea5d 100644 --- a/3.x/zh_CN/index.rst +++ b/3.x/zh_CN/index.rst @@ -1,7 +1,7 @@ 请根据需求选择FISCO BCOS的版本,并确认周边组件与其版本相匹配。 -.. container:: row - +.. container:: row + .. container:: card-holder-bigger .. container:: card-bigger @@ -9,7 +9,7 @@ .. image:: _static/images/FISCO_BCOS_Logo_3_0.png .. raw:: html - +

本文档版本 3.0:高性能、易拓展、高可用 @@ -18,7 +18,7 @@
.. raw:: html - +
-.. container:: row +.. container:: row .. raw:: html

@@ -368,6 +368,7 @@ FISCO BCOS开源社区致力打造开放多元的开源联盟链生态,至今 docs/operation_and_maintenance/governance_index.md docs/operation_and_maintenance/log/index.md docs/operation_and_maintenance/operation_and_maintenance.md + docs/operation_and_maintenance/snapshot.md .. toctree::