scoin.hc
package scoin.hc
Types, utils and wire codecs related to the Hosted Channels protocol.
Type members
Classlikes
case class AnnouncementSignature(nodeSignature: ByteVector64, wantsReply: Boolean) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala
case class HostedChannelBranding(rgbColor: Color, pngIcon: Option[ByteVector], contactInfo: String) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala
case class InitHostedChannel(maxHtlcValueInFlight: MilliSatoshi, htlcMinimum: MilliSatoshi, maxAcceptedHtlcs: Int, channelCapacity: MilliSatoshi, initialClientBalance: MilliSatoshi, features: List[Int]) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala
case class InvokeHostedChannel(chainHash: ByteVector32, refundScriptPubKey: ByteVector, secret: ByteVector) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala
case class LastCrossSignedState(isHost: Boolean, refundScriptPubKey: ByteVector, initHostedChannel: InitHostedChannel, blockDay: Long, localBalance: MilliSatoshi, remoteBalance: MilliSatoshi, localUpdates: Long, remoteUpdates: Long, incomingHtlcs: List[UpdateAddHtlc], outgoingHtlcs: List[UpdateAddHtlc], remoteSigOfLocal: ByteVector64, localSigOfRemote: ByteVector64) extends HostedChannelMessage
- Companion:
- object
- Source:
- HostedChannelMessages.scala
case class ResizeChannel(newCapacity: Satoshi, clientSig: ByteVector64) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala
case class StateOverride(blockDay: Long, localBalance: MilliSatoshi, localUpdates: Long, remoteUpdates: Long, localSigOfRemoteLCSS: ByteVector64) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala
case class StateUpdate(blockDay: Long, localUpdates: Long, remoteUpdates: Long, localSigOfRemoteLCSS: ByteVector64) extends HostedChannelMessage
- Source:
- HostedChannelMessages.scala