Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task63 Update console_of_java_sdk.md #1737

Merged
merged 8 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2.x/docs/console/console_of_java_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ Remove OK, 1 row affected.

```eval_rst
.. important::
执行`freezeContract`、`unfreezeContract`和`grantContractStatusManager`三个合约管理的控制台命令,需指定私钥启动控制台,用于进行操作权限判断。该私钥为部署指定合约时所用的账号私钥,即部署合约时也许指定私钥启动控制台
执行`freezeContract`、`unfreezeContract`和`grantContractStatusManager`三个合约管理的控制台命令,需指定私钥启动控制台,用于进行操作权限判断。该私钥为部署指定合约时所用的账号私钥,即部署合约时也是指定私钥启动控制台
```

### **freezeContract**
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ info|2019-01-21 17:31:18.317105| [P2P][Service] heartBeat,connected count=3
tail -f nodes/127.0.0.1/node0/log/log* | grep +++
```

正常情况会不停输出`++++Generating seal`,表示共识正常
正常情况会不停输出带有`++++Generating seal`的日志,即表示共识正常

```bash
info|2020-12-22 17:24:43.729402|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=1,hash=2e133146...
Expand Down
2 changes: 1 addition & 1 deletion 2.x/docs/manual/certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ bash ~/mynode/node/start.sh
tail -f ~/mynode/log/log* | grep +++
```

正常情况会不停输出`++++Generating seal`,表示共识正常
正常情况会不停输出带有`++++Generating seal`的日志,即表示共识正常

通过上述操作,完成了证书续期的操作。

Expand Down
4 changes: 2 additions & 2 deletions 2.x/docs/manual/group_use_cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ ubuntu16 131068 0.8 0.0 986644 7672 pts/0 Sl 15:21 0:00 /home/ubu

**查看群组共识状态**

不发交易时,共识正常的节点会输出`+++`日志,本例中,`node0`、`node1`同时属于`group1`、`group2`和`group3`;`node2`、`node3`属于`group1`;`node4`、`node5`属于`group2`;`node6`、`node7`属于`group3`,可通过`tail -f node*/log/* | grep "++"`查看各节点是否正常。
不发交易时,共识正常的节点会输出带有`+++`的日志,本例中,`node0`、`node1`同时属于`group1`、`group2`和`group3`;`node2`、`node3`属于`group1`;`node4`、`node5`属于`group2`;`node6`、`node7`属于`group3`,可通过`tail -f node*/log/* | grep "++"`查看各节点是否正常。

```eval_rst
.. important::

节点正常共识打印 ``+++`` 日志, ``+++`` 日志字段含义:
节点正常共识打印带有 ``+++`` 的日志, ``+++`` 日志字段含义:
- ``g:``:群组ID
- ``blkNum``:Leader节点产生的新区块高度;
- ``tx``: 新区块中包含的交易数目;
Expand Down
4 changes: 2 additions & 2 deletions 2.x/docs/tutorial/multihost.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ info|2019-01-21 17:31:18.317105| [P2P][Service] heartBeat,connected count=3
```bash
tail -f ~/fisco/*/node0/log/* |grep -i +++
```
正常情况会不停输出`++++Generating seal`,表示共识正常
正常情况会不停输出带有`++++Generating seal`的日志,即表示共识正常
```bash
info|2020-12-22 17:24:43.729402|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=1,hash=2e133146...
info|2020-12-22 17:24:47.740603|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=1,hash=eb199760...
Expand Down Expand Up @@ -372,4 +372,4 @@ Return values:
# 获取当前块高
[group:1]> getBlockNumber
2
```
```
4 changes: 2 additions & 2 deletions 2.x/docs/tutorial/mysql_node.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ info|2019-01-21 17:31:18.317105| [P2P][Service] heartBeat,connected count=3
tail -f nodes/127.0.0.1/node0/log/log* | grep +++
```

正常情况会不停输出`++++Generating seal`,表示共识正常。
正常情况会不停输出带有`++++Generating seal`的日志,表示共识正常。
```bash
info|2020-12-22 17:24:43.729402|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=1,hash=2e133146...
info|2020-12-22 17:24:47.740603|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=1,hash=eb199760...
Expand Down Expand Up @@ -357,4 +357,4 @@ MariaDB> select * from u_t_demo;
| 100025 | 2 | 0 | fruit | 1 | apple1 |
+--------+-------+----------+-------+---------+-----------+
1 row in set (0.00 sec)
```
```
Loading