DotNetLightning


PerCommitmentSecretStore Type

Constructors

Constructor Description

PerCommitmentSecretStore()

Full Usage: PerCommitmentSecretStore()

Returns: PerCommitmentSecretStore
Returns: PerCommitmentSecretStore

Instance members

Instance member Description

this.GetPerCommitmentSecret

Full Usage: this.GetPerCommitmentSecret

Parameters:
Returns: Option<PerCommitmentSecret>
commitmentNumber : CommitmentNumber
Returns: Option<PerCommitmentSecret>

this.InsertPerCommitmentSecret

Full Usage: this.InsertPerCommitmentSecret

Parameters:
Returns: Result<PerCommitmentSecretStore, InsertPerCommitmentSecretError>
commitmentNumber : CommitmentNumber
perCommitmentSecret : PerCommitmentSecret
Returns: Result<PerCommitmentSecretStore, InsertPerCommitmentSecretError>

this.MostRecentPerCommitmentSecret

Full Usage: this.MostRecentPerCommitmentSecret

Returns: Option<PerCommitmentSecret>
Returns: Option<PerCommitmentSecret>

this.NextCommitmentNumber

Full Usage: this.NextCommitmentNumber

Returns: CommitmentNumber
Returns: CommitmentNumber

this.Secrets

Full Usage: this.Secrets

Returns: (CommitmentNumber * PerCommitmentSecret) list
Returns: (CommitmentNumber * PerCommitmentSecret) list

Static members

Static member Description

PerCommitmentSecretStore.FromSecrets(secrets)

Full Usage: PerCommitmentSecretStore.FromSecrets(secrets)

Parameters:
Returns: PerCommitmentSecretStore
secrets : (CommitmentNumber * PerCommitmentSecret) list
Returns: PerCommitmentSecretStore