-
Notifications
You must be signed in to change notification settings - Fork 260
Expand file tree
/
Copy pathKernelConstants.cs
More file actions
21 lines (19 loc) · 952 Bytes
/
KernelConstants.cs
File metadata and controls
21 lines (19 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using Google.Protobuf.WellKnownTypes;
namespace AElf.Kernel;
public static class KernelConstants
{
public const long ReferenceBlockValidPeriod = 64 * 16;
public const int ProtocolVersion = 1;
public const int DefaultRunnerCategory = 0;
public const int CodeCoverageRunnerCategory = 30;
public const string MergeBlockStateQueueName = "MergeBlockStateQueue";
public const string UpdateChainQueueName = "UpdateChainQueue";
public const string ConsensusRequestMiningQueueName = "ConsensusRequestMiningQueue";
public const string ChainCleaningQueueName = "ChainCleaningQueue";
public const string StorageKeySeparator = ",";
public const string SignaturePlaceholder = "SignaturePlaceholder";
public const string BlockExecutedDataKey = "BlockExecutedData";
public static Duration AllowedFutureBlockTimeSpan = new() { Seconds = 4 };
public static string SupportStreamMinVersion = "1.4.0.0";
}