Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate( onionBlob []byte, paymentHash []byte, paymentSecret []byte, nodeKey *btcec.PrivateKey, expiry uint32, amount lnwire.MilliSatoshi, net *chaincfg.Params, ) error
Validate checks that the onion blob is valid and matches the invoice parameters. Pass 0 as amount to skip amount validation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.