Class TimeHeight
- Namespace
- NArk.Abstractions.Blockchain
- Assembly
- NArk.Abstractions.dll
Current chain wall-clock time and block height, used for expiry and CSV-maturity checks.
public record TimeHeight : IEquatable<TimeHeight>
- Inheritance
-
TimeHeight
- Implements
- Inherited Members
Constructors
TimeHeight(DateTimeOffset, uint)
Current chain wall-clock time and block height, used for expiry and CSV-maturity checks.
public TimeHeight(DateTimeOffset Timestamp, uint Height)
Parameters
TimestampDateTimeOffsetHeightuint
Properties
Height
public uint Height { get; init; }
Property Value
Timestamp
public DateTimeOffset Timestamp { get; init; }