singlesig

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisabledSingleSig

type DisabledSingleSig struct {
}

DisabledSingleSig represents a disabled singleSigner implementation

func (*DisabledSingleSig) IsInterfaceNil

func (dss *DisabledSingleSig) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*DisabledSingleSig) Sign

func (dss *DisabledSingleSig) Sign(_ crypto.PrivateKey, _ []byte) ([]byte, error)

Sign returns a mock signature value

func (*DisabledSingleSig) Verify

func (dss *DisabledSingleSig) Verify(_ crypto.PublicKey, _ []byte, _ []byte) error

Verify returns nil

Jump to

Keyboard shortcuts

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