txcheck

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilHasher = errors.New("err nil hasher")

ErrNilHasher signals a nil hasher was provided

View Source
var ErrNilMarshaller = errors.New("err nil marshaller")

ErrNilMarshaller signals a nil marshaller was provided

View Source
var ErrNilPubKey = errors.New("nil public key")

ErrNilPubKey signals a nil public key was provided

View Source
var ErrNilSignature = errors.New("nil signature")

ErrNilSignature signals a nil signature was provided

View Source
var ErrNilSignatureVerifier = errors.New("err nil signature verifier")

ErrNilSignatureVerifier signals a nil signature verifier was provided

View Source
var ErrNilTransaction = errors.New("nil transaction")

ErrNilTransaction signals a nil transaction was provided

Functions

func VerifyTransactionSignature

func VerifyTransactionSignature(
	tx *transaction.FrontendTransaction,
	pk crypto.PublicKey,
	signature []byte,
	verifier builders.Signer,
	marshaller coreData.Marshaller,
	hasher coreData.Hasher,
) error

VerifyTransactionSignature handles the signature verification for a given transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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