notinuse

package
v22.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPrivateTxManagerNotInUse = errors.New("private transaction manager is not in use")

Functions

This section is empty.

Types

type DBUpgradePrivateTransactionManager

type DBUpgradePrivateTransactionManager struct {
	PrivateTransactionManager
}

DBUpgradePrivateTransactionManager returns an error for all communication functions, while reporting it has the MultiplePrivateStates feature

func (*DBUpgradePrivateTransactionManager) Groups

func (*DBUpgradePrivateTransactionManager) HasFeature

func (*DBUpgradePrivateTransactionManager) Name

type PrivateTransactionManager

type PrivateTransactionManager struct{}

NotInUsePrivateTxManager returns an error for all communication functions, stating that no private transaction manager is being used by the node

func (*PrivateTransactionManager) DecryptPayload

func (ptm *PrivateTransactionManager) DecryptPayload(payload common.DecryptRequest) ([]byte, *engine.ExtraMetadata, error)

func (*PrivateTransactionManager) EncryptPayload

func (ptm *PrivateTransactionManager) EncryptPayload(data []byte, from string, to []string, extra *engine.ExtraMetadata) ([]byte, error)

func (*PrivateTransactionManager) GetMandatory

func (ptm *PrivateTransactionManager) GetMandatory(txHash common.EncryptedPayloadHash) ([]string, error)

func (*PrivateTransactionManager) GetParticipants

func (ptm *PrivateTransactionManager) GetParticipants(txHash common.EncryptedPayloadHash) ([]string, error)

func (*PrivateTransactionManager) Groups

func (*PrivateTransactionManager) HasFeature

func (*PrivateTransactionManager) IsSender

func (*PrivateTransactionManager) Name

func (ptm *PrivateTransactionManager) Name() string

func (*PrivateTransactionManager) Receive

func (*PrivateTransactionManager) ReceiveRaw

func (*PrivateTransactionManager) Send

func (*PrivateTransactionManager) SendSignedTx

func (ptm *PrivateTransactionManager) SendSignedTx(data common.EncryptedPayloadHash, to []string, extra *engine.ExtraMetadata) (string, []string, []byte, error)

func (*PrivateTransactionManager) StoreRaw

func (ptm *PrivateTransactionManager) StoreRaw(data []byte, from string) (common.EncryptedPayloadHash, error)

Jump to

Keyboard shortcuts

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