flags

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 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

Returns every possible recovery flag, taken from https://github.com/btclib-org/btclib/blob/master/btclib/bms.py#L83

func Compressed

func Compressed() []int

Returns all compressed recovery flags

func ElectrumP2WPKH

func ElectrumP2WPKH() []int

Returns all P2WPKH recovery flags related to Electrum

func ElectrumP2WPKHAndP2SH

func ElectrumP2WPKHAndP2SH() []int

Returns all P2WPKH-P2SH recovery flags related to Electrum

func GetKeyID

func GetKeyID(recoveryFlag int) int

Returns the Key ID for a specified recovery flag Taken from https://github.com/btclib-org/btclib/blob/master/btclib/bms.py#L288

func ShouldBeCompressed

func ShouldBeCompressed(recoveryFlag int) bool

Returns if an recovery flag signals a compressed key Taken from https://github.com/btclib-org/btclib/blob/master/btclib/bms.py#L300

func Trezor

func Trezor() []int

Returns all recovery flags related to Trezor.

func TrezorP2WPKH

func TrezorP2WPKH() []int

Returns all P2WPKH recovery flags related to Trezor.

func TrezorP2WPKHAndP2SH

func TrezorP2WPKHAndP2SH() []int

Returns all P2WPKH-P2SH recovery flags related to Trezor.

func Uncompressed

func Uncompressed() []int

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