Documentation
¶
Index ¶
Constants ¶
View Source
const ExpectedSignatureLength = 65
All signed messages are expected to have a fixed signature length.
Variables ¶
This section is empty.
Functions ¶
func Verify ¶
func Verify(sig SignedMessage) (bool, error)
Verify will verify a Signature based on the recovery flag on Bitcoin main network.
func VerifyWithChain ¶
func VerifyWithChain(signedMessage SignedMessage, net *chaincfg.Params) (bool, error)
VerifyWithChain will either return true if the signature is valid or an error.
Types ¶
type SignedMessage ¶
Click to show internal directories.
Click to hide internal directories.