btcutils

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WitnessFromHex

func WitnessFromHex(witnesses []string) (wire.TxWitness, error)

WitnessFromHex parses the passed slice of hex-encoded strings into a witness stack.

func WitnessFromString

func WitnessFromString(witnesses string) (wire.TxWitness, error)

WitnessFromString parses the passed space-separated string of hex-encoded strings into a witness stack.

func WitnessToHex

func WitnessToHex(witness wire.TxWitness) []string

WitnessToHex formats the passed witness stack as a slice of hex-encoded strings.

func WitnessToString

func WitnessToString(witness wire.TxWitness) string

WitnessToString formats the passed witness stack as a space-separated string of hex-encoded strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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