tools

package
v0.0.0-...-7f528f5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: GPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAuditpath

func ParseAuditpath(path []byte) ([]byte, []byte, [][32]byte, error)

Types

type CrossChainEvent

type CrossChainEvent struct {
	Data   []byte
	TxHash []byte
}

type FabricSdk

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

func NewFabricSdk

func NewFabricSdk(channel, chaincode, confFile, user, org string) (*FabricSdk, error)

func (*FabricSdk) CrossChainTransfer

func (sdk *FabricSdk) CrossChainTransfer(crossChainTxProof []byte, header []byte, headerProof []byte, anchor []byte) error

func (*FabricSdk) GetCrossChainEvent

func (sdk *FabricSdk) GetCrossChainEvent(height uint64) ([]*CrossChainEvent, error)

func (*FabricSdk) GetLatestHeight

func (sdk *FabricSdk) GetLatestHeight() (uint64, error)

func (*FabricSdk) GetLatestSyncHeight

func (sdk *FabricSdk) GetLatestSyncHeight() (uint32, error)

func (*FabricSdk) GetTransactionValidateCode

func (sdk *FabricSdk) GetTransactionValidateCode(txId string) (int32, error)

func (*FabricSdk) Lock

func (sdk *FabricSdk) Lock()

func (*FabricSdk) PolyHeader

func (sdk *FabricSdk) PolyHeader(header []byte) error

func (*FabricSdk) RegisterCrossChainEvent

func (sdk *FabricSdk) RegisterCrossChainEvent() (fab.Registration, <-chan *fab.CCEvent, error)

func (*FabricSdk) Unregister

func (sdk *FabricSdk) Unregister(reg fab.Registration)

Jump to

Keyboard shortcuts

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