mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-02 21:43:08 +00:00
24 lines
602 B
C#
24 lines
602 B
C#
using Utils;
|
|
|
|
namespace CodexContractsPlugin.ChainMonitor
|
|
{
|
|
public class ProofPeriod
|
|
{
|
|
public ProofPeriod(ulong periodNumber, TimeRange timeRange, BlockInterval blockRange)
|
|
{
|
|
PeriodNumber = periodNumber;
|
|
TimeRange = timeRange;
|
|
BlockRange = blockRange;
|
|
}
|
|
|
|
public ulong PeriodNumber { get; }
|
|
public TimeRange TimeRange { get; }
|
|
public BlockInterval BlockRange { get; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{{{PeriodNumber} - {TimeRange} {BlockRange}}}";
|
|
}
|
|
}
|
|
}
|