LightningMessageCodecs
object LightningMessageCodecs
- Source:
- LightningMessageCodecs.scala
Type members
Classlikes
Value members
Concrete fields
val channelAnnouncementWitnessCodec: Codec[Features[Feature] *: ByteVector32 *: ShortChannelId *: PublicKey *: PublicKey *: PublicKey *: (PublicKey, TlvStream[ChannelAnnouncementTlv])]
- Source:
- LightningMessageCodecs.scala
BOLT 7 defines a 'disable' bit and a 'direction' bit, but it's easier to understand if we take the reverse.
BOLT 7 defines a 'disable' bit and a 'direction' bit, but it's easier to understand if we take the reverse.
- Source:
- LightningMessageCodecs.scala
val channelUpdateWitnessCodec: Codec[ByteVector32 *: ShortChannelId *: TimestampSecond *: ChannelFlags *: CltvExpiryDelta *: MilliSatoshi *: MilliSatoshi *: Long *: (MilliSatoshi, TlvStream[ChannelUpdateTlv])]
- Source:
- LightningMessageCodecs.scala
For historical reasons, features are divided into two feature bitmasks. We only send from the second one, but we allow receiving in both.
For historical reasons, features are divided into two feature bitmasks. We only send from the second one, but we allow receiving in both.
- Source:
- LightningMessageCodecs.scala
val nodeAnnouncementWitnessCodec: Codec[Features[Feature] *: TimestampSecond *: PublicKey *: Color *: String *: (List[NodeAddress], TlvStream[NodeAnnouncementTlv])]
- Source:
- LightningMessageCodecs.scala