- Companion:
- class
- Source:
- Bolt11Invoice.scala
Type members
Classlikes
- Source:
- Bolt11Invoice.scala
Description
Description
- Value parameters:
- description
a free-format string that will be included in the invoice
- Source:
- Bolt11Invoice.scala
Hash
Hash
- Value parameters:
- hash
hash that will be included in the invoice, and can be checked against the hash of a long description, an SKU, ...
- Source:
- Bolt11Invoice.scala
Extra hop contained in RoutingInfoTag
Extra hop contained in RoutingInfoTag
- Value parameters:
- cltvExpiryDelta
node cltv expiry delta
- feeBase
node fixed fee
- feeProportionalMillionths
node proportional fee
- nodeId
start of the channel
- shortChannelId
channel id
- Source:
- Bolt11Invoice.scala
Fallback Payment that specifies a fallback payment address to be used if LN payment cannot be processed
Fallback Payment that specifies a fallback payment address to be used if LN payment cannot be processed
- Companion:
- object
- Source:
- Bolt11Invoice.scala
Features supported or required for receiving this payment.
Features supported or required for receiving this payment.
- Source:
- Bolt11Invoice.scala
Additional metadata to attach to the payment.
Additional metadata to attach to the payment.
- Source:
- Bolt11Invoice.scala
Payment secret. This is currently random bytes used to protect against probing from the next-to-last node.
Payment secret. This is currently random bytes used to protect against probing from the next-to-last node.
- Value parameters:
- secret
payment secret
- Source:
- Bolt11Invoice.scala
Routing Info
Routing Info
- Value parameters:
- path
one or more entries containing extra routing information for a private route
- Source:
- Bolt11Invoice.scala
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Value members
Concrete methods
- Source:
- Bolt11Invoice.scala
Checks if a serialized invoice is expired. Timestamp is compared to the System's current time.
Checks if a serialized invoice is expired. Timestamp is compared to the System's current time.
- Value parameters:
- input
valid serialized invoice
- Returns:
true if the invoice has expired, false otherwise.
- Source:
- Bolt11Invoice.scala
Extracts the description from a serialized invoice that is expected to be valid. Throws an error if the invoice is not valid.
Extracts the description from a serialized invoice that is expected to be valid. Throws an error if the invoice is not valid.
- Value parameters:
- input
valid serialized invoice
- Returns:
description as a String. If the description is a hash, returns the hash value as a String.
- Source:
- Bolt11Invoice.scala
This returns a bitvector with the minimum size necessary to encode the features, left padded to have a length (in bits) that is a multiple of 5.
This returns a bitvector with the minimum size necessary to encode the features, left padded to have a length (in bits) that is a multiple of 5.
- Source:
- Bolt11Invoice.scala
This returns a bitvector with the minimum size necessary to encode the long, left padded to have a length (in bits) that is a multiple of 5.
This returns a bitvector with the minimum size necessary to encode the long, left padded to have a length (in bits) that is a multiple of 5.
- Source:
- Bolt11Invoice.scala