ReadOnlyRoot
Namespace: IotaSdk
Read-only shared objects from the input. We don't really need ObjectDigest for protocol correctness, but it will make it easier to verify untrusted read.
internal record class ReadOnlyRoot : UnchangedSharedKind, System.IDisposable, System.IEquatable`1[[IotaSdk.UnchangedSharedKind, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[IotaSdk.UnchangedSharedKind+ReadOnlyRoot, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → UnchangedSharedKind → ReadOnlyRoot
Implements IDisposable, IEquatable<UnchangedSharedKind>, IEquatable<ReadOnlyRoot>
Attributes NullableAttribute
Properties
Version
public Version Version { get; init; }
Property Value
Digest
public ObjectDigest Digest { get; init; }
Property Value
Constructors
ReadOnlyRoot(Version, ObjectDigest)
Read-only shared objects from the input. We don't really need ObjectDigest for protocol correctness, but it will make it easier to verify untrusted read.
public ReadOnlyRoot(Version Version, ObjectDigest Digest)
Parameters
Version Version
Digest ObjectDigest