DotNetLightning


RevocationPubKey Type

PubKey which is necessary for each new commitment tx. Which can be derived from RevocationBasepoint and PerCommitmentPoint The corresponding privkey (i.e. RevocationPrivKey) can be derived when The counterparty reveals the per_commitment_secret Thus ensures the revocation Of the commitment. (Which is a crucial step for LN payment.) See bolt03 For more detail.

Union cases

Union case Description

RevocationPubKey PubKey

Full Usage: RevocationPubKey PubKey

Parameters:
Item : PubKey

Instance members

Instance member Description

this.RawPubKey

Full Usage: this.RawPubKey

Returns: PubKey
Returns: PubKey

this.ToBytes

Full Usage: this.ToBytes

Returns: byte array
Returns: byte array

Static members

Static member Description

RevocationPubKey.FromBytes(bytes)

Full Usage: RevocationPubKey.FromBytes(bytes)

Parameters:
    bytes : byte array

Returns: RevocationPubKey
bytes : byte array
Returns: RevocationPubKey