endorsement

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State interface {
	//getprivatedatamultiplekeys获取单个调用中多个私有数据项的值
	GetPrivateDataMultipleKeys(namespace, collection string, keys []string) ([][]byte, error)

	//GetStateMultipleKeys获取单个调用中多个键的值
	GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)

	//getTransientByXid获取与给定txID关联的私有数据值
	GetTransientByTXID(txID string) ([]*rwset.TxPvtReadWriteSet, error)

	//完成释放国家占用的资源
	Done()
}

国家定义与世界国家的互动

type StateFetcher

type StateFetcher interface {
	endorsement.Dependency

	//FetchState获取状态
	FetchState() (State, error)
}

StateFetcher检索状态的实例

Jump to

Keyboard shortcuts

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