package
wire
Type Members
-
case class
AcceptChannel(temporaryChannelId: ByteVector32, dustLimitSatoshis: Satoshi, maxHtlcValueInFlightMsat: UInt64, channelReserveSatoshis: Satoshi, htlcMinimumMsat: MilliSatoshi, minimumDepth: Long, toSelfDelay: CltvExpiryDelta, maxAcceptedHtlcs: Int, fundingPubkey: PublicKey, revocationBasepoint: PublicKey, paymentBasepoint: PublicKey, delayedPaymentBasepoint: PublicKey, htlcBasepoint: PublicKey, firstPerCommitmentPoint: PublicKey, upfrontShutdownScript: Option[ByteVector] = None) extends ChannelMessage with HasTemporaryChannelId with Product with Serializable
-
-
case class
AnnouncementSignatures(channelId: ByteVector32, shortChannelId: ShortChannelId, nodeSignature: ByteVector64, bitcoinSignature: ByteVector64) extends RoutingMessage with HasChannelId with Product with Serializable
-
-
case class
ChannelAnnouncement(nodeSignature1: ByteVector64, nodeSignature2: ByteVector64, bitcoinSignature1: ByteVector64, bitcoinSignature2: ByteVector64, features: ByteVector, chainHash: ByteVector32, shortChannelId: ShortChannelId, nodeId1: PublicKey, nodeId2: PublicKey, bitcoinKey1: PublicKey, bitcoinKey2: PublicKey, unknownFields: ByteVector = ByteVector.empty) extends RoutingMessage with HasChainHash with Product with Serializable
-
case class
ChannelDisabled(messageFlags: Byte, channelFlags: Byte, update: ChannelUpdate) extends Update with Product with Serializable
-
-
case class
ChannelReestablish(channelId: ByteVector32, nextLocalCommitmentNumber: Long, nextRemoteRevocationNumber: Long, yourLastPerCommitmentSecret: Option[PrivateKey] = None, myCurrentPerCommitmentPoint: Option[PublicKey] = None) extends ChannelMessage with HasChannelId with Product with Serializable
-
case class
ChannelUpdate(signature: ByteVector64, chainHash: ByteVector32, shortChannelId: ShortChannelId, timestamp: Long, messageFlags: Byte, channelFlags: Byte, cltvExpiryDelta: CltvExpiryDelta, htlcMinimumMsat: MilliSatoshi, feeBaseMsat: MilliSatoshi, feeProportionalMillionths: Long, htlcMaximumMsat: Option[MilliSatoshi], unknownFields: ByteVector = ByteVector.empty) extends RoutingMessage with HasTimestamp with HasChainHash with Product with Serializable
-
case class
ClosingSigned(channelId: ByteVector32, feeSatoshis: Satoshi, signature: ByteVector64) extends ChannelMessage with HasChannelId with Product with Serializable
-
case class
Color(r: Byte, g: Byte, b: Byte) extends Product with Serializable
-
case class
CommitSig(channelId: ByteVector32, signature: ByteVector64, htlcSignatures: List[ByteVector64]) extends HtlcMessage with HasChannelId with Product with Serializable
-
-
sealed
trait
EncodingType extends AnyRef
-
case class
Error(channelId: ByteVector32, data: ByteVector) extends SetupMessage with HasChannelId with Product with Serializable
-
-
-
-
-
-
case class
FundingCreated(temporaryChannelId: ByteVector32, fundingTxid: ByteVector32, fundingOutputIndex: Int, signature: ByteVector64) extends ChannelMessage with HasTemporaryChannelId with Product with Serializable
-
case class
FundingLocked(channelId: ByteVector32, nextPerCommitmentPoint: PublicKey) extends ChannelMessage with HasChannelId with Product with Serializable
-
case class
FundingSigned(channelId: ByteVector32, signature: ByteVector64) extends ChannelMessage with HasChannelId with Product with Serializable
-
case class
GenericTlv(tag: UInt64, value: ByteVector) extends Tlv with Product with Serializable
-
case class
GossipTimestampFilter(chainHash: ByteVector32, firstTimestamp: Long, timestampRange: Long) extends RoutingMessage with HasChainHash with Product with Serializable
-
-
-
-
-
-
case class
IPv4(ipv4: Inet4Address, port: Int) extends NodeAddress with Product with Serializable
-
case class
IPv6(ipv6: Inet6Address, port: Int) extends NodeAddress with Product with Serializable
-
-
-
-
sealed
trait
InitTlv extends Tlv
-
case class
InvalidOnionHmac(onionHash: ByteVector32) extends BadOnion with Perm with Product with Serializable
-
case class
InvalidOnionKey(onionHash: ByteVector32) extends BadOnion with Perm with Product with Serializable
-
case class
InvalidOnionPayload(tag: UInt64, offset: Int) extends Perm with Product with Serializable
-
case class
InvalidOnionVersion(onionHash: ByteVector32) extends BadOnion with Perm with Product with Serializable
-
-
-
sealed
trait
NodeAddress extends AnyRef
-
case class
NodeAnnouncement(signature: ByteVector64, features: ByteVector, timestamp: Long, nodeId: PublicKey, rgbColor: Color, alias: String, addresses: List[NodeAddress], unknownFields: ByteVector = ByteVector.empty) extends RoutingMessage with HasTimestamp with Product with Serializable
-
-
case class
OnionRoutingPacket(version: Int, publicKey: ByteVector, payload: ByteVector, hmac: ByteVector32) extends Product with Serializable
-
-
case class
OpenChannel(chainHash: ByteVector32, temporaryChannelId: ByteVector32, fundingSatoshis: Satoshi, pushMsat: MilliSatoshi, dustLimitSatoshis: Satoshi, maxHtlcValueInFlightMsat: UInt64, channelReserveSatoshis: Satoshi, htlcMinimumMsat: MilliSatoshi, feeratePerKw: Long, toSelfDelay: CltvExpiryDelta, maxAcceptedHtlcs: Int, fundingPubkey: PublicKey, revocationBasepoint: PublicKey, paymentBasepoint: PublicKey, delayedPaymentBasepoint: PublicKey, htlcBasepoint: PublicKey, firstPerCommitmentPoint: PublicKey, channelFlags: Byte, upfrontShutdownScript: Option[ByteVector] = None, tlvStream_opt: Option[TlvStream[OpenTlv]] = None) extends ChannelMessage with HasTemporaryChannelId with HasChainHash with Product with Serializable
-
sealed
trait
OpenTlv extends Tlv
-
-
case class
Ping(pongLength: Int, data: ByteVector) extends SetupMessage with Product with Serializable
-
case class
Pong(data: ByteVector) extends SetupMessage with Product with Serializable
-
-
-
-
-
-
-
-
case class
RevokeAndAck(channelId: ByteVector32, perCommitmentSecret: PrivateKey, nextPerCommitmentPoint: PublicKey) extends HtlcMessage with HasChannelId with Product with Serializable
-
-
-
case class
Shutdown(channelId: ByteVector32, scriptPubKey: ByteVector) extends ChannelMessage with HasChannelId with Product with Serializable
-
-
trait
Tlv extends AnyRef
-
case class
TlvStream[T <: Tlv](records: Traversable[T], unknown: Traversable[GenericTlv] = Nil) extends Product with Serializable
-
case class
Tor2(tor2: String, port: Int) extends OnionAddress with Product with Serializable
-
case class
Tor3(tor3: String, port: Int) extends OnionAddress with Product with Serializable
-
-
-
-
case class
UpdateFailHtlc(channelId: ByteVector32, id: Long, reason: ByteVector) extends HtlcMessage with UpdateMessage with HasChannelId with Product with Serializable
-
case class
UpdateFailMalformedHtlc(channelId: ByteVector32, id: Long, onionHash: ByteVector32, failureCode: Int) extends HtlcMessage with UpdateMessage with HasChannelId with Product with Serializable
-
case class
UpdateFee(channelId: ByteVector32, feeratePerKw: Long) extends ChannelMessage with UpdateMessage with HasChannelId with Product with Serializable
-
case class
UpdateFulfillHtlc(channelId: ByteVector32, id: Long, paymentPreimage: ByteVector32) extends HtlcMessage with UpdateMessage with HasChannelId with Product with Serializable
-
Generic tlv type we fallback to if we don't understand the incoming tlv.
tlv tag.
tlv value (length is implicit, and encoded as a varint).