flags

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: ISC Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []int

All returns every possible recovery flag, taken from https://github.com/btclib-org/btclib/blob/v2022.7.20/btclib/ecc/bms.py#L83

func Compressed

func Compressed() []int

Compressed returns all compressed recovery flags.

func ElectrumP2SHAndP2WPKH

func ElectrumP2SHAndP2WPKH() []int

ElectrumP2SHAndP2WPKH returns all P2SH-P2WPKH recovery flags related to Electrum.

func ElectrumP2WPKH

func ElectrumP2WPKH() []int

ElectrumP2WPKH returns all P2WPKH recovery flags related to Electrum.

func GetKeyID

func GetKeyID(recoveryFlag int) int

GetKeyID returns the Key ID for a specified recovery flag Taken from https://github.com/btclib-org/btclib/blob/v2023.7.12/btclib/ecc/bms.py#L302

func ShouldBeCompressed

func ShouldBeCompressed(recoveryFlag int) bool

ShouldBeCompressed returns if a recovery flag signals a compressed key Taken from https://github.com/btclib-org/btclib/blob/v2023.7.12/btclib/ecc/bms.py#L305

func Trezor

func Trezor() []int

Trezor returns all recovery flags related to Trezor.

func TrezorP2SHAndP2WPKH

func TrezorP2SHAndP2WPKH() []int

TrezorP2SHAndP2WPKH returns all P2SH-P2WPKH recovery flags related to Trezor.

func TrezorP2WPKH

func TrezorP2WPKH() []int

TrezorP2WPKH returns all P2WPKH recovery flags related to Trezor.

func Uncompressed

func Uncompressed() []int

Uncompressed returns all uncompressed recovery flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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