DotNetLightning


PublicChannel Type

Record fields

Record Field Description

Announce

Full Usage: Announce

Field type: ChannelAnnouncementMsg
Field type: ChannelAnnouncementMsg

Cap

Full Usage: Cap

Field type: Money
Field type: Money

FundingTxId

Full Usage: FundingTxId

Field type: TxId
Field type: TxId

MaybeUpdate1

Full Usage: MaybeUpdate1

Field type: ChannelUpdateMsg option
Field type: ChannelUpdateMsg option

MaybeUpdate2

Full Usage: MaybeUpdate2

Field type: ChannelUpdateMsg option
Field type: ChannelUpdateMsg option

Instance members

Instance member Description

this.GetChannelUpdateField

Full Usage: this.GetChannelUpdateField

Parameters:
Returns: seq<'T>
f : ChannelUpdateMsg -> 'T
Returns: seq<'T>

this.GetChannelUpdateSameSideAs

Full Usage: this.GetChannelUpdateSameSideAs

Parameters:
Returns: ChannelUpdateMsg option
u : ChannelUpdateMsg
Returns: ChannelUpdateMsg option

this.GetNodeIdSameSideAs

Full Usage: this.GetNodeIdSameSideAs

Parameters:
Returns: NodeId
u : ChannelUpdateMsg
Returns: NodeId

this.UpdateChannelUpdateSameSideAs

Full Usage: this.UpdateChannelUpdateSameSideAs

Parameters:
Returns: PublicChannel
u : ChannelUpdateMsg
Returns: PublicChannel

Static members

Static member Description

PublicChannel.TryCreate(a, f, c, ?update1, ?update2)

Full Usage: PublicChannel.TryCreate(a, f, c, ?update1, ?update2)

Parameters:
Returns: Result<PublicChannel, string>
a : ChannelAnnouncementMsg
f : TxId
c : Money
?update1 : ChannelUpdateMsg
?update2 : ChannelUpdateMsg
Returns: Result<PublicChannel, string>