Documentation ¶
Index ¶
- func Init()
- type ExtensionHandler
- func (handler *ExtensionHandler) CheckExtensionAndSetPrivateState(txLogs []*types.Log, privateState *state.StateDB, ...)
- func (handler *ExtensionHandler) FetchDataFromPTM(hash string) ([]string, []byte, *state.PrivacyMetadata, bool)
- func (handler *ExtensionHandler) FetchStateData(address common.Address, hash string, uuid string, ...) ([]string, map[string]extension.AccountWithMetadata, *state.PrivacyMetadata, ...)
- func (handler *ExtensionHandler) SetPSMR(psmr mps.PrivateStateMetadataResolver)
- func (handler *ExtensionHandler) SupportMultitenancy(b bool)
- func (handler *ExtensionHandler) UuidIsOwn(address common.Address, uuid string, psi types.PrivateStateIdentifier) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (handler *ExtensionHandler) FetchStateData(address common.Address, hash string, uuid string, psi types.PrivateStateIdentifier) ([]string, map[string]extension.AccountWithMetadata, *state.PrivacyMetadata, bool)
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
Click to show internal directories.
Click to hide internal directories.