privacyExtension

package
v21.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultExtensionHandler = NewExtensionHandler(private.P)

Functions

This section is empty.

Types

type ExtensionHandler

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

func NewExtensionHandler

func NewExtensionHandler(transactionManager private.PrivateTransactionManager) *ExtensionHandler

func (*ExtensionHandler) CheckExtensionAndSetPrivateState

func (handler *ExtensionHandler) CheckExtensionAndSetPrivateState(txLogs []*types.Log, privateState *state.StateDB)

func (*ExtensionHandler) FetchDataFromPTM

func (handler *ExtensionHandler) FetchDataFromPTM(hash string) ([]string, []byte, *state.PrivacyMetadata, bool)

func (*ExtensionHandler) FetchStateData

func (handler *ExtensionHandler) FetchStateData(address common.Address, hash string, uuid string) ([]string, map[string]extension.AccountWithMetadata, *state.PrivacyMetadata, bool)

func (*ExtensionHandler) SupportMultitenancy

func (handler *ExtensionHandler) SupportMultitenancy(b bool)

func (*ExtensionHandler) UuidIsOwn

func (handler *ExtensionHandler) UuidIsOwn(address common.Address, uuid string) bool

Jump to

Keyboard shortcuts

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