mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-09 10:45:07 +00:00
20 lines
439 B
C#
20 lines
439 B
C#
namespace NethereumWorkflow.BlockUtils
|
|
{
|
|
public class BlockTimeEntry
|
|
{
|
|
public BlockTimeEntry(ulong blockNumber, DateTime utc)
|
|
{
|
|
BlockNumber = blockNumber;
|
|
Utc = utc;
|
|
}
|
|
|
|
public ulong BlockNumber { get; }
|
|
public DateTime Utc { get; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"[{BlockNumber}] @ {Utc.ToString("o")}";
|
|
}
|
|
}
|
|
}
|