transaction

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalTokenTransaction

func UnmarshalTokenTransaction(raw []byte) (*cb.ChannelHeader, *token.TokenTransaction, identity.PublicInfo, error)

Types

type Processor

type Processor struct {
	TMSManager TMSManager
}

处理器实现接口“github.com/hyperledger/fabric/core/ledger/customtx/processor” 用于FabToken交易

func (*Processor) GenerateSimulationResults

func (p *Processor) GenerateSimulationResults(txEnv *common.Envelope, simulator ledger.TxSimulator, initializingLedger bool) error

type TMSManager

type TMSManager interface {
	//gettxprocessor返回所提供通道的TMS事务的TxProcessor
	GetTxProcessor(channel string) (TMSTxProcessor, error)
}

type TMSTxProcessor

type TMSTxProcessor interface {
	//processtx解析ttx以生成rw集
	ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
}

tmstxprocessor用于生成令牌事务的读取依赖项 (读取集)以及该事务触发的分类帐更新 (写入集);读写集通过模拟器对象隐式返回 在提交函数中作为参数传递的

type TxCreatorInfo

type TxCreatorInfo struct {
	// contains filtered or unexported fields
}

func (*TxCreatorInfo) Public

func (t *TxCreatorInfo) Public() []byte

Directories

Path Synopsis
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。

Jump to

Keyboard shortcuts

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