scoin.ln
Type members
Classlikes
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
Lightning Bolt 11 invoice see https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
Lightning Bolt 11 invoice see https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
- Value parameters:
- amount_opt
amount to pay (empty string means no amount is specified)
- createdAt
invoice timestamp (UNIX format)
- nodeId
id of the node emitting the invoice
- prefix
currency prefix; lnbc for bitcoin, lntb for bitcoin testnet
- signature
invoice signature that will be checked against node id
- tags
payment tags; must include a single PaymentHash tag and a single PaymentSecret tag.
- Companion:
- object
- Source:
- Bolt11Invoice.scala
- Source:
- LightningMessageTypes.scala
- Source:
- FailureMessage.scala
Subset of Bolt 9 features used to configure a channel and applicable over the lifetime of that channel. Even if one of these features is later disabled at the connection level, it will still apply to the channel until the channel is upgraded or closed.
Subset of Bolt 9 features used to configure a channel and applicable over the lifetime of that channel. Even if one of these features is later disabled at the connection level, it will still apply to the channel until the channel is upgraded or closed.
- Companion:
- object
- Source:
- ChannelFeatures.scala
- Source:
- LightningMessageTypes.scala
A channel type is a specific set of even feature bits that represent persistent channel features as defined in Bolt 2.
A channel type is a specific set of even feature bits that represent persistent channel features as defined in Bolt 2.
- Source:
- ChannelFeatures.scala
Permanent channel feature negotiated in the channel type. Those features take precedence over permanent channel features negotiated in init messages. For example, if the channel type is option_static_remotekey, then even if the option_anchor_outputs feature is supported by both peers, it won't apply to the channel.
Permanent channel feature negotiated in the channel type. Those features take precedence over permanent channel features negotiated in init messages. For example, if the channel type is option_static_remotekey, then even if the option_anchor_outputs feature is supported by both peers, it won't apply to the channel.
- Source:
- Features.scala
- Companion:
- object
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Companion:
- object
- Source:
- LightningMessageTypes.scala
Not a sealed trait, so it can be extended by plugins.
Not a sealed trait, so it can be extended by plugins.
- Source:
- Features.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
Generic tlv type we fallback to if we don't understand the incoming tlv.
Generic tlv type we fallback to if we don't understand the incoming tlv.
- Value parameters:
- tag
tlv tag.
- value
tlv value (length is implicit, and encoded as a varint).
- Source:
- Tlv.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
Feature that should be advertised in init messages.
Feature that should be advertised in init messages.
- Source:
- Features.scala
Feature that should be advertised in invoices.
Feature that should be advertised in invoices.
- Source:
- Features.scala
- Source:
- LightningMessageTypes.scala
Feature that should be advertised in node announcements.
Feature that should be advertised in node announcements.
- Source:
- Features.scala
- Source:
- OnionRouting.scala
- Companion:
- object
- Source:
- LightningMessageTypes.scala
Feature negotiated when opening a channel that will apply for all of the channel's lifetime. This doesn't include features that can be safely activated/deactivated without impacting the channel's operation such as option_dataloss_protect or option_shutdown_anysegwit.
Feature negotiated when opening a channel that will apply for all of the channel's lifetime. This doesn't include features that can be safely activated/deactivated without impacting the channel's operation such as option_dataloss_protect or option_shutdown_anysegwit.
- Source:
- Features.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Companion:
- object
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
see https://github.com/rustyrussell/lightning-rfc/blob/master/early-drafts/shachain.txt
Structure used to intelligently store unguessable hashes.
Structure used to intelligently store unguessable hashes.
- Value parameters:
- knownHashes
know hashes
- lastIndex
index of the last known hash. Hashes are supposed to be added in reverse order i.e. from 0xFFFFFFFFFFFFFFFF down to 0
- Companion:
- object
- Source:
- ShaChain.scala
- Source:
- LightningMessageTypes.scala
A tlv stream is a collection of tlv records. A tlv stream is constrained to a specific tlv namespace that dictates how to parse the tlv records. That namespace is provided by a trait extending the top-level tlv trait.
A tlv stream is a collection of tlv records. A tlv stream is constrained to a specific tlv namespace that dictates how to parse the tlv records. That namespace is provided by a trait extending the top-level tlv trait.
We allow remote nodes to send us unknown failure codes (e.g. deprecated failure codes). By reading the PERM and NODE bits we can still extract useful information for payment retry even without knowing how to decode the failure payload (but we can't extract a channel update or onion hash).
We allow remote nodes to send us unknown failure codes (e.g. deprecated failure codes). By reading the PERM and NODE bits we can still extract useful information for payment retry even without knowing how to decode the failure payload (but we can't extract a channel update or onion hash).
- Source:
- FailureMessage.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Source:
- LightningMessageTypes.scala
- Companion:
- object
- Source:
- LightningMessageTypes.scala