notinuse

package
Version: v21.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 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 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) GetParticipants

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

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL