Features

object Features
Companion:
class
Source:
Features.scala
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object ChannelType extends Feature with InitFeature with NodeFeature
case object DataLossProtect extends Feature with InitFeature with NodeFeature
case class FeatureException(message: String) extends IllegalArgumentException
case object InitialRoutingSync extends Feature with InitFeature
case object KeySend extends Feature with NodeFeature
case object OnionMessages extends Feature with InitFeature with NodeFeature
case object PaymentMetadata extends Feature with InvoiceFeature
case object ShutdownAnySegwit extends Feature with InitFeature with NodeFeature
case object ZeroConf extends Feature with InitFeature with NodeFeature with ChannelTypeFeature

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def apply[T <: Feature](features: (T, FeatureSupport)*): Features[T]
def areCompatible[T <: Feature](ours: Features[T], theirs: Features[T]): Boolean

Returns true if both feature sets are compatible.

Returns true if both feature sets are compatible.

Source:
Features.scala
def canUseFeature[T <: Feature](localFeatures: Features[T], remoteFeatures: Features[T], feature: T): Boolean

returns true if both have at least optional support

returns true if both have at least optional support

Source:
Features.scala
def empty[T <: Feature]: Features[T]

Concrete fields