DotNetLightning


PerCommitmentSecret Type

per_commitment_secret in bolt. By revealing this value to counterparty, you can revoke the commitment. And thus complete the state transition in LN channel.

Union cases

Union case Description

PerCommitmentSecret Key

Full Usage: PerCommitmentSecret Key

Parameters:
Item : Key

Instance members

Instance member Description

this.PerCommitmentPoint

Full Usage: this.PerCommitmentPoint

Returns: PerCommitmentPoint
Returns: PerCommitmentPoint

this.RawKey

Full Usage: this.RawKey

Returns: Key
Returns: Key

this.ToBytes

Full Usage: this.ToBytes

Returns: byte array
Returns: byte array

Static members

Static member Description

PerCommitmentSecret.BytesLength

Full Usage: PerCommitmentSecret.BytesLength

Returns: int
Returns: int

PerCommitmentSecret.FromBytes(bytes)

Full Usage: PerCommitmentSecret.FromBytes(bytes)

Parameters:
    bytes : byte array

Returns: PerCommitmentSecret
bytes : byte array
Returns: PerCommitmentSecret