mirror of
https://github.com/NecroticBamboo/QRBee.git
synced 2025-12-21 12:11:53 +00:00
24 lines
877 B
C#
24 lines
877 B
C#
namespace QRBee.Load.Generator;
|
|
|
|
internal class Anomaly
|
|
{
|
|
public double Probability { get; set; }
|
|
public Dictionary<string,string> Parameters { get; set; } = new();
|
|
}
|
|
|
|
internal class GeneratorSettings
|
|
{
|
|
public int NumberOfClients { get; set; } = 100;
|
|
public int NumberOfMerchants { get; set; } = 10;
|
|
public int NumberOfThreads { get; set; } = 20;
|
|
public int DelayBetweenMessagesMSec { get; set; } = 100;
|
|
public int DelayJitterMSec { get; set; } = 50;
|
|
public double MinAmount { get; set; } = 10;
|
|
public double MaxAmount { get; set; } = 100;
|
|
|
|
public Anomaly LoadSpike { get; set; } = new();
|
|
public Anomaly LargeAmount { get; set; } = new();
|
|
public Anomaly TransactionCorruption { get; set;} = new();
|
|
public Anomaly UnconfirmedTransaction { get; set; } = new();
|
|
}
|