package
Version:
v0.0.0-...-3c905e5
Opens a new window with list of versions in this module.
Published: Dec 24, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
存证合约
交易类型
普通存证交易
普通存证交易只在链上存储记录,不做业务逻辑执行
延时存证交易
将延时交易提交到链上,即交易的 payload 包含一个需要延时的交易
交易请求
message CommitDelayTx {
string delayTx = 1; //延时交易, 16进制格式
int64 relativeDelayHeight = 2; //相对延时时长,相对区块高度
}
Transaction 结构定义
交易回执
message CommitDelayTxLog {
string submitter = 1; // 提交者
string delayTxHash = 2; // 延时交易哈希
int64 delayBeginHeight = 3; // 延时开始区块高度
}
交易构造接口及参数
- 创建交易通用 json rpc 接口,Chain.CreateTransaction
- execer: "none"
- actionName: "CommitDelayTx"
- payload: CommitDelayTx
Documentation
¶
Package none 系统级dapp,执行内容为空
Source Files
¶
Directories
¶
|
Package executor none执行器 |
|
Package types 管理插件相关的定义 |
Click to show internal directories.
Click to hide internal directories.