testsig

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSignerAndVerifier

func CreateSignerAndVerifier(t *testing.T) (abcrypto.Signer, abcrypto.Verifier)

func NewAuthProofSignature

func NewAuthProofSignature(t *testing.T, txo *types.TransactionOrder, signer abcrypto.Signer) []byte

NewAuthProofSignature creates a P2PKH predicate signature for AuthProof.

func NewFeeProofSignature

func NewFeeProofSignature(t *testing.T, txo *types.TransactionOrder, signer abcrypto.Signer) []byte

NewFeeProofSignature creates a P2PKH fee predicate signature for FeeProof.

func NewP2pkhSignature

func NewP2pkhSignature(t *testing.T, signer abcrypto.Signer, sigBytes []byte) []byte

func NewStateLockProofSignature

func NewStateLockProofSignature(t *testing.T, txo *types.TransactionOrder, signer abcrypto.Signer) []byte

NewStateLockProofSignature creates a P2PKH fee predicate signature for StateLock.

Types

This section is empty.

Jump to

Keyboard shortcuts

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