Skip to main content

CommitteeChainVerifier

Namespace: IotaSdk

Verifies the committee chain: the sequence of committees linked by each epoch's certified closing checkpoint, whose end-of-epoch data elects the committee of the next epoch.

Starting from a trusted committee (typically the genesis committee, the operator's trust root), feed it each epoch's closing SignedCheckpointSummary in epoch order via Self::verify_epoch_close; every summary a consumer obtains this way is committee-verified, with no trust in whatever transport delivered it.

The walk is transport-agnostic by design — callers drive their own loop (an in-memory list, a remote-store stream, files on disk) and feed summaries in; this type only holds the verification state.

public class CommitteeChainVerifier : ICommitteeChainVerifier, System.IDisposable

Inheritance Object → CommitteeChainVerifier
Implements ICommitteeChainVerifier, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

CommitteeChainVerifier(UInt64)​

public CommitteeChainVerifier(ulong pointer)

Parameters​

pointer UInt64

CommitteeChainVerifier(ValidatorCommittee)​

public CommitteeChainVerifier(ValidatorCommittee trustedCommittee)

Parameters​

trustedCommittee ValidatorCommittee

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

Committee()​

The committee of the epoch whose closing checkpoint must be fed next.

public ValidatorCommittee Committee()

Returns​

ValidatorCommittee

Epoch()​

The epoch whose closing checkpoint must be fed next.

public ulong Epoch()

Returns​

UInt64

VerifyEpochClose(SignedCheckpointSummary)​

Verify summary as the certified closing checkpoint of the current epoch and advance to the committee it elects for the next epoch.

public void VerifyEpochClose(SignedCheckpointSummary summary)

Parameters​

summary SignedCheckpointSummary

Exceptions​

SdkFfiException