Documentation
¶
Index ¶
- func CreateMagicMessage(message string) string
- func GeneratePublicKeyHash(recoveryFlag int, pubKey *btcec.PublicKey) []byte
- func ValidateP2PKH(recoveryFlag int, pubkeyHash []byte, addr btcutil.Address, ...) (bool, error)
- func ValidateP2SH(recoveryFlag int, pubkeyHash []byte, addr btcutil.Address, ...) (bool, error)
- func ValidateP2WPKH(recoveryFlag int, pubkeyHash []byte, addr btcutil.Address, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMagicMessage ¶
WriteVarInt copied from https://github.com/btcsuite/btcutil/blob/master/gcs/gcs.go#L225
func GeneratePublicKeyHash ¶
Returns the public key hash, either compressed or uncompressed based on the recovery flag
func ValidateP2PKH ¶
func ValidateP2SH ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.