pvtdatapolicy

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BTLPolicy

type BTLPolicy interface {
	GetBTL(ns string, coll string) (uint64, error)

	GetExpiringBlock(namesapce string, collection string, committingBlock uint64) (uint64, error)
}

func ConstructBTLPolicy

func ConstructBTLPolicy(collInfoProvider collectionInfoProvider) BTLPolicy

type LSCCBasedBTLPolicy

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

func (*LSCCBasedBTLPolicy) GetBTL

func (p *LSCCBasedBTLPolicy) GetBTL(namesapce string, collection string) (uint64, error)

func (*LSCCBasedBTLPolicy) GetExpiringBlock

func (p *LSCCBasedBTLPolicy) GetExpiringBlock(namesapce string, collection string, committingBlock uint64) (uint64, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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