ChannelTypes
object ChannelTypes
- Source:
- ChannelFeatures.scala
Type members
Classlikes
case class AnchorOutputsZeroFeeHtlcTx(scidAlias: Boolean, zeroConf: Boolean) extends SupportedChannelType
- Source:
- ChannelFeatures.scala
Value members
Concrete methods
def areCompatible(localFeatures: Features[InitFeature], remoteChannelType: ChannelType): Option[SupportedChannelType]
Check if a given channel type is compatible with our features.
Check if a given channel type is compatible with our features.
- Source:
- ChannelFeatures.scala
def defaultFromFeatures(localFeatures: Features[InitFeature], remoteFeatures: Features[InitFeature], announceChannel: Boolean): SupportedChannelType
Pick the channel type based on local and remote feature bits, as defined by the spec.
Pick the channel type based on local and remote feature bits, as defined by the spec.
- Source:
- ChannelFeatures.scala