DotNetLightning


Commitments Type

Record fields

Record Field Description

LocalNextHTLCId

Full Usage: LocalNextHTLCId

Field type: HTLCId
Field type: HTLCId

OriginChannels

Full Usage: OriginChannels

Field type: Map<HTLCId, HTLCSource>
Field type: Map<HTLCId, HTLCSource>

ProposedLocalChanges

Full Usage: ProposedLocalChanges

Field type: IUpdateMsg list
Field type: IUpdateMsg list

ProposedRemoteChanges

Full Usage: ProposedRemoteChanges

Field type: IUpdateMsg list
Field type: IUpdateMsg list

RemoteNextHTLCId

Full Usage: RemoteNextHTLCId

Field type: HTLCId
Field type: HTLCId

Instance members

Instance member Description

this.AddLocalProposal

Full Usage: this.AddLocalProposal

Parameters:
Returns: Commitments
proposal : IUpdateMsg
Returns: Commitments

this.AddRemoteProposal

Full Usage: this.AddRemoteProposal

Parameters:
Returns: Commitments
proposal : IUpdateMsg
Returns: Commitments

this.IncrLocalHTLCId

Full Usage: this.IncrLocalHTLCId

Returns: Commitments
Returns: Commitments

this.IncrRemoteHTLCId

Full Usage: this.IncrRemoteHTLCId

Returns: Commitments
Returns: Commitments

Static members

Static member Description

Commitments.LocalCommitAmount(isLocalFunder) (localParams) (localCommit)

Full Usage: Commitments.LocalCommitAmount(isLocalFunder) (localParams) (localCommit)

Parameters:
Returns: Amounts
isLocalFunder : bool
localParams : LocalParams
localCommit : LocalCommit
Returns: Amounts

Commitments.RemoteCommitAmount(isLocalFunder) (remoteParams) (remoteCommit)

Full Usage: Commitments.RemoteCommitAmount(isLocalFunder) (remoteParams) (remoteCommit)

Parameters:
Returns: Amounts
isLocalFunder : bool
remoteParams : RemoteParams
remoteCommit : RemoteCommit
Returns: Amounts