outscript

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 8 Imported by: 0

README

outscript

Generate potential outscripts for a given public key.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Out added in v0.1.2

type Out struct {
	Name   string `json:"name"`   // p2sh, etc
	Script string `json:"script"` // out script
	// contains filtered or unexported fields
}

func GetOuts added in v0.1.2

func GetOuts(pubkey *secp256k1.PublicKey) []*Out

GetOuts returns the potential outputs that can be opened in theory with the given pubkey. p2w* values are "pay to segwit" and can only be used on segwit-enabled chains.

func (*Out) Bytes added in v0.1.4

func (o *Out) Bytes() []byte

Jump to

Keyboard shortcuts

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