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
0aa39e6e
Commit
0aa39e6e
authored
May 28, 2019
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cli命令使用文档.md
parent
c8f872b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
11 deletions
+23
-11
cli命令使用文档.md
cli命令使用文档.md
+23
-11
No files found.
cli命令使用文档.md
View file @
0aa39e6e
**版本:
V6.2.0**
**版本:
V6.2.0**
...
@@ -284,21 +284,33 @@ Available Commands:
...
@@ -284,21 +284,33 @@ Available Commands:
}
}
```
```
## 2.7 block last_sequence 获取本钱包当前已同步的最新顺序编号
(仅用于平行链相关
)
## 2.7 block last_sequence 获取本钱包当前已同步的最新顺序编号)
`cli block last_sequence `
`cli block last_sequence `
```
```
158216
158216
```
```
※sequence是否开启的配置项在配置文件中,默认应为关闭,返回为0
-
1,表示不存在。
※sequence是否开启的配置项在配置文件中,默认应为关闭,返回为01,表示不存在。
## 2.8 block list_callback 获取本钱包发送的callback列表
`cli block list_callback`
```
{
"items": [
{
"name": "11",
"URL": "http://localhost:8901",
"encode": "111"
}
]
}
```
## 2.9 block query_hashs 根据区块哈希获取区块详情
`cli block query_hashs "哈希1 哈希2"`
## block query_hashs 根据区块哈希获取区块详情(数据未解析,主要用于平行链相关)
返回内容解析了具体详情。
cli block query_hashs "哈希1 哈希2"
※目前这里返回的交易信息未完全解析,主要用于平行链相关操作。
##
block sequences 根据顺序编号查询对应的区块哈希(仅用于平行链相关)
##
2.10 block sequences 根据顺序编号查询对应的区块哈希
cli block sequences -s 起始查询高度 -e 结束查询高度
`cli block sequences -s 起始查询高度 -e 结束查询高度`
```
```
{
{
"blkseqInfos": [
"blkseqInfos": [
...
@@ -313,8 +325,8 @@ cli block sequences -s 起始查询高度 -e 结束查询高度
...
@@ -313,8 +325,8 @@ cli block sequences -s 起始查询高度 -e 结束查询高度
]
]
}
}
```
```
## block view 根据区块哈希查询指定区块的区块头信息
##
2.11
block view 根据区块哈希查询指定区块的区块头信息
cli block view -s 区块哈希
`cli block view -s 区块哈希`
```
```
{
{
"head": {
"head": {
...
...
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