DotNetLightning


OptionalField<'T> Type

Before TLV gets standardized. Optional fields are defined directly in bolt. This a type annotation to make clear that the field is such an optional type. The actual type is just a standard FSharpOption.

Instance members

Instance member Description

this.IsNone

Full Usage: this.IsNone

Returns: bool
Returns: bool

this.IsSome

Full Usage: this.IsSome

Returns: bool
Returns: bool

this.Value

Full Usage: this.Value

Returns: 'T
Returns: 'T

Static members

Static member Description

Option.None

Full Usage: Option.None

Returns: 'T option
Returns: 'T option