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