none

package
v1.66.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2022 License: BSD-3-Clause Imports: 2 Imported by: 4

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接口,Chain33.CreateTransaction
  • execer: "none"
  • actionName: "CommitDelayTx"
  • payload: CommitDelayTx

Documentation

Overview

Package none 系统级dapp,执行内容为空

Directories

Path Synopsis
Package executor none执行器
Package executor none执行器
Package types 管理插件相关的定义
Package types 管理插件相关的定义

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL