mapper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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 GetMapper

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

func GetQCPTxs

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

获取跨链结果交易集

func GetQCPTxsWithLimit

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

获取跨链结果交易集,带条数限制

func GetQCPs added in v0.0.8

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

获取联盟链集合,结果交易集中最多保留 TxExportLimit 条数据

func GetRootCaPubkey added in v0.0.8

func GetRootCaPubkey(ctx context.Context) crypto.PubKey

获取 kepler qcp 根证书公钥

func SetRootCaPubkey added in v0.0.8

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

保存 kepler qcp 根证书公钥

Types

This section is empty.

Jump to

Keyboard shortcuts

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