Documentation ¶
Index ¶
- type DisabledMultiSig
- func (dms *DisabledMultiSig) AggregateSigs(_ []byte) ([]byte, error)
- func (dms *DisabledMultiSig) Create(_ []string, _ uint16) (crypto.MultiSigner, error)
- func (dms *DisabledMultiSig) CreateAndAddSignatureShareForKey(_ []byte, _ crypto.PrivateKey, _ []byte) ([]byte, error)
- func (dms *DisabledMultiSig) CreateSignatureShare(_ []byte, _ []byte) ([]byte, error)
- func (dms *DisabledMultiSig) IsInterfaceNil() bool
- func (dms *DisabledMultiSig) Reset(_ []string, _ uint16) error
- func (dms *DisabledMultiSig) SetAggregatedSig(_ []byte) error
- func (dms *DisabledMultiSig) SignatureShare(_ uint16) ([]byte, error)
- func (dms *DisabledMultiSig) StoreSignatureShare(_ uint16, _ []byte) error
- func (dms *DisabledMultiSig) Verify(_ []byte, _ []byte) error
- func (dms *DisabledMultiSig) VerifySignatureShare(_ uint16, _ []byte, _ []byte, _ []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisabledMultiSig ¶
type DisabledMultiSig struct { }
DisabledMultiSig represents a disabled multisigner implementation
func (*DisabledMultiSig) AggregateSigs ¶
func (dms *DisabledMultiSig) AggregateSigs(_ []byte) ([]byte, error)
AggregateSigs returns a mock signature value
func (*DisabledMultiSig) Create ¶
func (dms *DisabledMultiSig) Create(_ []string, _ uint16) (crypto.MultiSigner, error)
Create returns a new disabled instance
func (*DisabledMultiSig) CreateAndAddSignatureShareForKey ¶ added in v1.0.1
func (dms *DisabledMultiSig) CreateAndAddSignatureShareForKey(_ []byte, _ crypto.PrivateKey, _ []byte) ([]byte, error)
CreateAndAddSignatureShareForKey will return an empty slice and a nil error
func (*DisabledMultiSig) CreateSignatureShare ¶
func (dms *DisabledMultiSig) CreateSignatureShare(_ []byte, _ []byte) ([]byte, error)
CreateSignatureShare returns a mock signature value
func (*DisabledMultiSig) IsInterfaceNil ¶
func (dms *DisabledMultiSig) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*DisabledMultiSig) Reset ¶
func (dms *DisabledMultiSig) Reset(_ []string, _ uint16) error
Reset returns nil
func (*DisabledMultiSig) SetAggregatedSig ¶
func (dms *DisabledMultiSig) SetAggregatedSig(_ []byte) error
SetAggregatedSig returns nil
func (*DisabledMultiSig) SignatureShare ¶
func (dms *DisabledMultiSig) SignatureShare(_ uint16) ([]byte, error)
SignatureShare returns a mock signature value
func (*DisabledMultiSig) StoreSignatureShare ¶
func (dms *DisabledMultiSig) StoreSignatureShare(_ uint16, _ []byte) error
StoreSignatureShare returns nil
func (*DisabledMultiSig) Verify ¶
func (dms *DisabledMultiSig) Verify(_ []byte, _ []byte) error
Verify returns nil
func (*DisabledMultiSig) VerifySignatureShare ¶
VerifySignatureShare returns nil
Click to show internal directories.
Click to hide internal directories.