mapper

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootCAKey = "rootca"

	TxExportLimit = 100 // QCP TX 导出条数限制
)

Variables

This section is empty.

Functions

func ExportQCPs

func ExportQCPs(ctx context.Context) []qcptypes.QCPInfo

TODO prefix定义到qbase中

func GetMapper

func GetMapper(ctx context.Context) *qcp.QcpMapper

func GetQCPRootCA

func GetQCPRootCA(ctx context.Context) crypto.PubKey

获取CA

func GetQCPTxs

func GetQCPTxs(ctx context.Context, chainId string) []txs.TxQcp

TODO prefix定义到qbase中

func GetQCPTxsWithLimit

func GetQCPTxsWithLimit(ctx context.Context, chainId string, limit uint64, asc bool) []txs.TxQcp

TODO prefix定义到qbase中

func SetQCPRootCA

func SetQCPRootCA(ctx context.Context, pubKey crypto.PubKey)

保存CA

Types

This section is empty.

Jump to

Keyboard shortcuts

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