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
fa0183b8
Commit
fa0183b8
authored
Mar 20, 2020
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cli通用命令使用文档.md
parent
760deb68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
cli通用命令使用文档.md
cli通用命令使用文档.md
+18
-7
No files found.
cli通用命令使用文档.md
View file @
fa0183b8
**版本:
V6.2.0**
**版本:
V6.2.0**
...
...
@@ -752,6 +752,7 @@ Available Commands:
`cli ticket -h`
```
Available Commands:
auto_mine Set auto mine on/off
bind Bind private key to miner address
close Close tickets
cold Get cold wallet address of miner
...
...
@@ -760,7 +761,17 @@ Available Commands:
```
## 17.1 ticket bind 构造离线挖矿授权
## 17.1 auto_mine 设置钱包挖矿状态
`cli ticket auto_mine -f 1`
```
{
"isOK": true,
"msg": ""
}
```
wallet同样存在该接口,后续逐渐弃用wallet中的接口。
## 17.2 ticket bind 构造离线挖矿授权
`cli ticket bind -b 在线挖矿地址 -o 离线授权地址`
```
返回十六进制字符串
...
...
@@ -768,7 +779,7 @@ Available Commands:
※ 详见离线挖矿
## 17.
2
ticket close 关闭挖矿
## 17.
3
ticket close 关闭挖矿
`cli ticket close -m 挖矿地址(可选)`
```
返回交易哈希
...
...
@@ -779,7 +790,7 @@ Available Commands:
## 17.
3
ticket cold 根据指定在线挖矿地址获取离线授权地址
## 17.
4
ticket cold 根据指定在线挖矿地址获取离线授权地址
`cli ticket cold -m 在线挖矿地址`
```
{
...
...
@@ -789,13 +800,13 @@ Available Commands:
}
```
## 17.
4
ticket count 获取本钱包正在挖矿的票数
## 17.
5
ticket count 获取本钱包正在挖矿的票数
`cli ticket count`
```
返回票数
```
## 17.
5
ticket list 获取本钱包的ticket ID
## 17.
6
ticket list 获取本钱包的ticket ID
`cli ticket list`
```
[
...
...
@@ -998,7 +1009,7 @@ Available Commands:
`cli wallet -h`
```
Available Commands:
auto_mine Set auto mine on/off
auto_mine Set auto mine on/off
.Deprecated
list_txs List transactions in wallet
lock Lock wallet
merge Merge accounts' balance into address
...
...
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