FISCO-BCOS / FISCO-BCOS/FISCO-BCOS-DOC

扩容一个新节点(gen_node_cert.sh脚本):国密和非国密似乎都存在问题

Open
#1,630 0 comments 0 reactions 0 assignees View on GitHub
resolved
Dominant language
Python
Stars
197
Forks
281
Avg merge
2m
Merged PRs (30d)
1

Description

非国密版本:按照官方文档快速搭建4节点的区块链后,按照官方文档扩容新节点(非国密)时,提示找不到文件../cert/agency/channel/cert.cnf,手动将cert.cnf文件移入后,才可以生成新节点文件夹node4。
国密版本:同样按照步骤搭建4节点国密区块链后,按照官方文档扩容新节点(国密)时,没有生成新节点文件夹node4,也没有报错。使用bash -x查看发现,与非国密生成节点相比,gen_node_cert.sh脚本执行时后边很多步骤没有执行。
截图是生成国密节点的脚本执行过程,没有执行完毕。
![截屏2023-02-20 12 20 19](https://user-images.githubusercontent.com/88823403/220014889-bec03d1e-3d09-46b2-8b1c-da3dc03c889e.png)

Contributor guide

Open the contributing guide

Research direction

Start with gen_node_cert.sh and the official instructions for expanding a four-node chain. Reproduce both non-national-cryptography and national-cryptography setups, using bash -x to compare execution and checking the documented location of cert.cnf. Done means both procedures complete and create node4 without manually moving files.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
documentation, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.