Commit 39111a9c authored by 谢昇's avatar 谢昇

Update cli命令使用文档.md

parent 10e9883d
**版本:V6.2.0** **版本:V6.2.0**
...@@ -458,28 +458,50 @@ Available Commands: ...@@ -458,28 +458,50 @@ Available Commands:
-e后接自定义执行器,必须以user.开头; -e后接自定义执行器,必须以user.开头;
-t后跟标题。 -t后跟标题。
# 8.hashlock模块
`cli hashlock -h`
```
Available Commands:
lock Create hashlock lock transaction
send Create hashlock send transaction
unlock Create hashlock unlock transaction
```
因为这是一个独立的合约系统,在后文单独以案例形式说明。
# mempool模块 # 9.mempool模块
`cli mempool -h`
``` ```
Available Commands: Available Commands:
last_txs Get latest mempool txs last_txs Get latest mempool txs
list List mempool txs list List mempool txs
proper_fee Get latest proper fee
``` ```
## mempool last_txs获取内存池中最近十笔交易 ## 9.1 mempool last_txs获取内存池中最近十笔交易
cli mempool last_txs `cli mempool last_txs`
``` ```
返回最近10笔交易的交易详情 返回最近10笔交易的交易详情
``` ```
※ 未完成同步时,不会从其他节点接收,返回为空。 ※ 未完成同步时,不会从其他节点接收,返回为空。
## mempool list 获取内存池中的交易列表 ## 9.2 mempool list 获取内存池中的交易列表
cli mempool list `cli mempool list`
``` ```
返回内存池中现存的交易详情列表 返回内存池中现存的交易详情列表
``` ```
## 9.3 mempool proper_fee 获取内存池中最新交易适当的手续费
`cli mempool proper_fee`
```
{
"properFee": 300000
}
```
# net模块 # net模块
``` ```
Available Commands: Available Commands:
......
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