Documentation
¶
Index ¶
- func CreateMagicMessage(message string) string
- func GeneratePublicKeyHash(recoveryFlag int, publicKey *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 ¶
CreateMagicMessage builds a properly signed message.
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.