privacyExtension

package
v0.0.0-...-0599406 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: GPL-3.0 Imports: 9 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) ([]byte, *state.PrivacyMetadata, bool)

func (*ExtensionHandler) FetchStateData

func (handler *ExtensionHandler) FetchStateData(address common.Address, hash string, uuid string) (map[string]extension.AccountWithMetadata, *state.PrivacyMetadata, 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