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
c8f872b3
Commit
c8f872b3
authored
May 28, 2019
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cli命令使用文档.md
parent
880d890f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
cli命令使用文档.md
cli命令使用文档.md
+15
-6
No files found.
cli命令使用文档.md
View file @
c8f872b3
**版本:
V6.2.0**
**版本:
V6.2.0**
...
@@ -257,9 +257,18 @@ Available Commands:
...
@@ -257,9 +257,18 @@ Available Commands:
]
]
}
}
```
```
※cli命令中有-d的可选参数项,但无实际作用,为了保持与b
b
lock get结构一致,可省略。
※cli命令中有-d的可选参数项,但无实际作用,为了保持与block get结构一致,可省略。
## 2.5 block last_header 获取本钱包当前已同步的最新区块的区块头信息
## 2.5 block last_callback_sequence 获取最新callback的sequence
`cli block last_callback_sequence -n 名称(string格式)`
```
{
"data": -1
}
```
需推送后得到对端的正常返回才可获取sequence;若不存在则返回-1。
## 2.6 block last_header 获取本钱包当前已同步的最新区块的区块头信息
`cli block last_header`
`cli block last_header`
```
```
{
{
...
@@ -275,12 +284,12 @@ Available Commands:
...
@@ -275,12 +284,12 @@ Available Commands:
}
}
```
```
## block last_sequence 获取本钱包当前已同步的最新顺序编号(仅用于平行链相关)
##
2.7
block last_sequence 获取本钱包当前已同步的最新顺序编号(仅用于平行链相关)
cli block last_sequence
`cli block last_sequence `
```
```
158216
158216
```
```
※sequence是否开启的配置项在配置文件中,默认应为关闭,返回为0。
※sequence是否开启的配置项在配置文件中,默认应为关闭,返回为0
-1,表示不存在
。
## block query_hashs 根据区块哈希获取区块详情(数据未解析,主要用于平行链相关)
## block query_hashs 根据区块哈希获取区块详情(数据未解析,主要用于平行链相关)
...
...
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