privacyExtension

package
v2.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 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) ([]byte, bool)

func (*ExtensionHandler) FetchStateData

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