sign

package
v0.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Verify

func Verify(tx *wire.MsgTx, inputTxs []*wire.MsgTx) error

func VerifySignature

func VerifySignature(pkScript []byte, spendTx *wire.MsgTx, index int, amount int64) error

func VerifyWithOutputs

func VerifyWithOutputs(tx *wire.MsgTx, outputs []*Output) error

Types

type Output

type Output struct {
	PkScript []byte
	Value    int64
}

Jump to

Keyboard shortcuts

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