diff --git a/IxianLiteWallet/Commands/Commands.cs b/IxianLiteWallet/Commands/Commands.cs index 89b89a7..51a99e8 100644 --- a/IxianLiteWallet/Commands/Commands.cs +++ b/IxianLiteWallet/Commands/Commands.cs @@ -246,7 +246,22 @@ void handleStress(string line) } stressTargetTps = Int32.Parse(split[1]); + if(stressTargetTps > 50) + { + stressTargetTps = 50; + } + stressTxCount = Int32.Parse(split[2]); + if(stressTxCount > 10000) + { + stressTxCount = 10000; + } + + if (stressRunning == true) + { + return; + } + byte[] to = Base58Check.Base58CheckEncoding.DecodePlain(split[3]); new Thread(() => diff --git a/IxianLiteWallet/Meta/Config.cs b/IxianLiteWallet/Meta/Config.cs index e96690c..e0b594a 100644 --- a/IxianLiteWallet/Meta/Config.cs +++ b/IxianLiteWallet/Meta/Config.cs @@ -5,6 +5,6 @@ class Config public static string walletFile = "ixian.wal"; public static bool onlyShowAddresses = false; - public static readonly string version = "xlwc-0.7.6"; // LiteWallet version + public static readonly string version = "xlwc-0.7.6a"; // LiteWallet version } }