privacyExtension

package
v0.0.0-...-8bbb73d Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type ExtensionHandler

type ExtensionHandler struct {
	// contains filtered or unexported fields
}
var DefaultExtensionHandler *ExtensionHandler

func NewExtensionHandler

func NewExtensionHandler(transactionManager private.PrivateTransactionManager) *ExtensionHandler

func (*ExtensionHandler) CheckExtensionAndSetPrivateState

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

func (*ExtensionHandler) FetchDataFromPTM

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

func (*ExtensionHandler) FetchStateData

func (*ExtensionHandler) SetPSMR

func (handler *ExtensionHandler) SetPSMR(psmr mps.PrivateStateMetadataResolver)

func (*ExtensionHandler) SupportMultitenancy

func (handler *ExtensionHandler) SupportMultitenancy(b bool)

func (*ExtensionHandler) UuidIsOwn

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

Jump to

Keyboard shortcuts

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