Documentation ¶
Index ¶
- Variables
- type PrivateTransactionManager
- func (ptm *PrivateTransactionManager) DecryptPayload(payload common.DecryptRequest) ([]byte, *engine.ExtraMetadata, error)
- func (ptm *PrivateTransactionManager) EncryptPayload(data []byte, from string, to []string, extra *engine.ExtraMetadata) ([]byte, error)
- func (ptm *PrivateTransactionManager) GetParticipants(txHash common.EncryptedPayloadHash) ([]string, error)
- func (ptm *PrivateTransactionManager) HasFeature(f engine.PrivateTransactionManagerFeature) bool
- func (ptm *PrivateTransactionManager) IsSender(txHash common.EncryptedPayloadHash) (bool, error)
- func (ptm *PrivateTransactionManager) Name() string
- func (ptm *PrivateTransactionManager) Receive(data common.EncryptedPayloadHash) ([]byte, *engine.ExtraMetadata, error)
- func (ptm *PrivateTransactionManager) ReceiveRaw(data common.EncryptedPayloadHash) ([]byte, *engine.ExtraMetadata, error)
- func (ptm *PrivateTransactionManager) Send(data []byte, from string, to []string, extra *engine.ExtraMetadata) (common.EncryptedPayloadHash, error)
- func (ptm *PrivateTransactionManager) SendSignedTx(data common.EncryptedPayloadHash, to []string, extra *engine.ExtraMetadata) ([]byte, error)
- func (ptm *PrivateTransactionManager) StoreRaw(data []byte, from string) (common.EncryptedPayloadHash, error)
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 (ptm *PrivateTransactionManager) HasFeature(f engine.PrivateTransactionManagerFeature) bool
func (*PrivateTransactionManager) IsSender ¶
func (ptm *PrivateTransactionManager) IsSender(txHash common.EncryptedPayloadHash) (bool, error)
func (*PrivateTransactionManager) Name ¶
func (ptm *PrivateTransactionManager) Name() string
func (*PrivateTransactionManager) Receive ¶
func (ptm *PrivateTransactionManager) Receive(data common.EncryptedPayloadHash) ([]byte, *engine.ExtraMetadata, error)
func (*PrivateTransactionManager) ReceiveRaw ¶
func (ptm *PrivateTransactionManager) ReceiveRaw(data common.EncryptedPayloadHash) ([]byte, *engine.ExtraMetadata, error)
func (*PrivateTransactionManager) Send ¶
func (ptm *PrivateTransactionManager) Send(data []byte, from string, to []string, extra *engine.ExtraMetadata) (common.EncryptedPayloadHash, error)
func (*PrivateTransactionManager) SendSignedTx ¶
func (ptm *PrivateTransactionManager) SendSignedTx(data common.EncryptedPayloadHash, to []string, extra *engine.ExtraMetadata) ([]byte, error)
func (*PrivateTransactionManager) StoreRaw ¶
func (ptm *PrivateTransactionManager) StoreRaw(data []byte, from string) (common.EncryptedPayloadHash, error)
Click to show internal directories.
Click to hide internal directories.