Commit b50c41b8 authored by 谢昇's avatar 谢昇

Update cli命令使用文档.md

parent 077a5ce7
**版本:V6.2.0**
**版本:V6.2.0**
......@@ -503,8 +503,19 @@ Available Commands:
```
返回值需除以十的八次方后,即为0.003。
# 10.multisig模块
`cli multisig -h`
```
Available Commands:
account multisig account
owner multisig owner
tx multisig tx
```
因为这是一个独立的合约系统,在后文单独以案例形式说明。
# net模块
# 11.net模块
`cli net -h`
```
Available Commands:
fault Get system fault
......@@ -515,15 +526,15 @@ Available Commands:
time Get time status
```
## net fault 查询本节点出现重大故障的次数
cli net fault
## 11.1 net fault 查询本节点出现重大故障的次数
`cli net fault `
```
返回故障次数
```
正常情况下为0,出现数据库损坏等故障会增加。主要用于客户端判断出现故障时的原因。
## net info 查询本节点的网络信息
cli net info
## 11.2 net info 查询本节点的网络信息
`cli net info`
```
{
"externalAddr": "122.224.166.26:39345",
......@@ -535,20 +546,20 @@ cli net info
```
※ service分为能否对外提供服务;outbounds为接收外部节点的数量,inbounds为本节点对外提供服务的节点数量。
## net is_clock_sync 查询本节点时间是否同步
cli net is_clock_sync
## 11.3 net is_clock_sync 查询本节点时间是否同步
`cli net is_clock_sync`
```
返回true或false
```
## net is_sync 查询本节点是否已同步
cli net is_sync
## 11.4 net is_sync 查询本节点是否已同步
`cli net is_sync`
```
返回true或false
```
## net peer_info 查询本节点向外连接节点的节点信息
cli net peer_info
## 11.5 net peer_info 查询本节点向外连接节点的节点信息
`cli net peer_info`
```
{
"peers": [
......@@ -593,7 +604,7 @@ cli net peer_info
```
※ self:true即为本节点
## net time 获取本地时间与ntp时间
## 11.6 net time 获取本地时间与ntp时间
cli net time
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment