multisig

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: GPL-3.0 Imports: 0 Imported by: 1

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

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