Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
036aa1
Browse files Browse the repository at this point in the history
  • Loading branch information
DevTeamNoso committed May 9, 2023
1 parent d968640 commit 476669a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 29 deletions.
2 changes: 1 addition & 1 deletion lastrelease.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.5Aa1 {win64hash} {linux64hash} {signature}
0.3.6Aa1 {win64hash} {linux64hash} {signature}
2 changes: 1 addition & 1 deletion masterpaskalform.pas
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ TForm1 = class(TForm)
{4}'nosofish.xyz;8082:nosopool.estripa.online;8082:pool.nosomn.com;8082:159.196.1.198;8082: '+
{5}'NpryectdevepmentfundsGE:';

ProgramVersion = '0.3.5';
ProgramVersion = '0.3.6';
{$IFDEF WINDOWS}
RestartFileName = 'launcher.bat';
updateextension = 'zip';
Expand Down
27 changes: 0 additions & 27 deletions mpparser.pas
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function ShowPrivKey(linea:String;ToConsole:boolean = false):String;
Procedure ExportKeys(linea:string);

// CONSULTING
Function MainNetHashrate(blocks:integer = 100):int64;
Procedure ListGVTs();

// 0.2.1 DEBUG
Expand Down Expand Up @@ -1529,32 +1528,6 @@ function AvailableUpdates():string;
UpdateMyGVTsList
End;

Function MainNetHashrate(blocks:integer = 100):int64;
var
counter : integer;
TotalRate : double = 0;
Header : BlockHeaderData;
ThisBlockDiff : string;
ThisBlockValue : integer;
TotalBlocksCalculated : integer = 100;
ResultStr : string = '';
Begin
TotalBlocksCalculated := blocks;
For counter:= MyLastblock downto Mylastblock-(TotalBlocksCalculated-1) do
begin
Header := LoadBlockDataHeader(counter);
ThisBlockDiff := Parameter(Header.Solution,1);
ThisBlockValue := GetDiffHashrate(ThisBlockDiff);
TotalRate := TotalRate+(ThisBlockValue/100);
ResultStr := ResultStr+Format('[%s]-',[FormatFloat('0.00',ThisBlockValue/100)]);
end;
//AddLineToDebugLog('console',ResultStr);
TotalRate := TotalRate/TotalBlocksCalculated;
//AddLineToDebugLog('console',format('Average: %s',[FormatFloat('0.00',TotalRate)]));
TotalRate := Power(16,TotalRate);
Result := Round(TotalRate/575);
End;

function ShowPrivKey(linea:String;ToConsole:boolean = false):String;
var
addtoshow : string;
Expand Down

0 comments on commit 476669a

Please sign in to comment.