Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢昇
test
Commits
b50c41b8
Commit
b50c41b8
authored
May 29, 2019
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cli命令使用文档.md
parent
077a5ce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
13 deletions
+24
-13
cli命令使用文档.md
cli命令使用文档.md
+24
-13
No files found.
cli命令使用文档.md
View file @
b50c41b8
**版本:
V6.2.0**
**版本:
V6.2.0**
...
@@ -503,8 +503,19 @@ Available Commands:
...
@@ -503,8 +503,19 @@ Available Commands:
```
```
返回值需除以十的八次方后,即为0.003。
返回值需除以十的八次方后,即为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:
Available Commands:
fault Get system fault
fault Get system fault
...
@@ -515,15 +526,15 @@ Available Commands:
...
@@ -515,15 +526,15 @@ Available Commands:
time Get time status
time Get time status
```
```
## net fault 查询本节点出现重大故障的次数
##
11.1
net fault 查询本节点出现重大故障的次数
cli net fault
`cli net fault `
```
```
返回故障次数
返回故障次数
```
```
正常情况下为0,出现数据库损坏等故障会增加。主要用于客户端判断出现故障时的原因。
正常情况下为0,出现数据库损坏等故障会增加。主要用于客户端判断出现故障时的原因。
## net info 查询本节点的网络信息
##
11.2
net info 查询本节点的网络信息
cli net info
`cli net info`
```
```
{
{
"externalAddr": "122.224.166.26:39345",
"externalAddr": "122.224.166.26:39345",
...
@@ -535,20 +546,20 @@ cli net info
...
@@ -535,20 +546,20 @@ cli net info
```
```
※ service分为能否对外提供服务;outbounds为接收外部节点的数量,inbounds为本节点对外提供服务的节点数量。
※ service分为能否对外提供服务;outbounds为接收外部节点的数量,inbounds为本节点对外提供服务的节点数量。
## net is_clock_sync 查询本节点时间是否同步
##
11.3
net is_clock_sync 查询本节点时间是否同步
cli net is_clock_sync
`cli net is_clock_sync`
```
```
返回true或false
返回true或false
```
```
## net is_sync 查询本节点是否已同步
##
11.4
net is_sync 查询本节点是否已同步
cli net is_sync
`cli net is_sync`
```
```
返回true或false
返回true或false
```
```
## net peer_info 查询本节点向外连接节点的节点信息
##
11.5
net peer_info 查询本节点向外连接节点的节点信息
cli net peer_info
`cli net peer_info`
```
```
{
{
"peers":
[
"peers":
[
...
@@ -593,7 +604,7 @@ cli net peer_info
...
@@ -593,7 +604,7 @@ cli net peer_info
```
```
※ self:true即为本节点
※ self:true即为本节点
##
net time 获取本地时间与ntp时间
## 11.6
net time 获取本地时间与ntp时间
cli net time
cli net time
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment