multisig

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

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) ([]byte, error)

AggregateSigs returns a dummy signature, as this is a disabled component

func (*DisabledMultiSig) CreateSignatureShare

func (dms *DisabledMultiSig) CreateSignatureShare(_ []byte, _ []byte) ([]byte, error)

CreateSignatureShare returns the default signature as this is a disabled component

func (*DisabledMultiSig) IsInterfaceNil

func (dms *DisabledMultiSig) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*DisabledMultiSig) VerifyAggregatedSig added in v0.0.2

func (dms *DisabledMultiSig) VerifyAggregatedSig(_ [][]byte, _ []byte, _ []byte) error

VerifyAggregatedSig returns nil as this is a disabled component

func (*DisabledMultiSig) VerifySignatureShare

func (dms *DisabledMultiSig) VerifySignatureShare(_ []byte, _ []byte, _ []byte) error

VerifySignatureShare returns nil as this is a disabled component

Jump to

Keyboard shortcuts

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