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

Commit 51c4efd

Browse files
committed
v160
1 parent 7524bd5 commit 51c4efd

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* version 1.60
2+
3+
- Updated label for stake size.
4+
15
* version 1.50
26

37
- Completely adapted to new crypto functions.

nl_cripto.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ function GetAddressFromPublicKey(PubKey:String):String;
8080
Begin
8181
PubSHAHashed := HashSha256String(PubKey);
8282
Hash1 := HashMD160String(PubSHAHashed);
83-
hash1 := B16ToB58(Hash1);
83+
hash1 := BMHexTo58(Hash1,58);
8484
sumatoria := BMB58resumen(Hash1);
85-
clave := B10ToB58(sumatoria);
85+
clave := BMDecTo58(sumatoria);
8686
hash2 := hash1+clave;
8787
Result := 'N'+hash2;
8888
End;

nl_data.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ TUpdateThread = class(TThread)
142142
Comisiontrfr = 10000;
143143
MinimunFee = 1000000;
144144
Protocol = 2;
145-
ProgramVersion = '1.50';
145+
ProgramVersion = '1.60';
146146

147147
HexAlphabet : string = '0123456789ABCDEF';
148148
B58Alphabet : string = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';

nl_gui.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ implementation
143143
Int_TotalSupply := (GetSumaryLastBlock *50)+10303;
144144
supply := Int_TotalSupply/1000000;
145145
Int_StakeSize := (Int_TotalSupply div 500)+1;
146+
if Int_StakeSize > 11000 then Int_StakeSize := 11000;
147+
if GetSumaryLastBlock > 110000 then Int_StakeSize := 10500;
146148
supply := ((GetSumaryLastBlock *50)+10303)/1000000;
147149
if Wallet_Synced then form1.PanelBlockInfo.Color:=clGreen
148150
else form1.PanelBlockInfo.Color:=clRed;

nl_network.pas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ function SendOrder(OrderString:String):String;
3838
Client.Port:=thisnode.port;
3939
Client.ConnectTimeout:= 3000;
4040
Client.ReadTimeout:=3000;
41-
//Tolog(OrderString);
4241
TRY
4342
Client.Connect;
4443
Client.IOHandler.WriteLn(OrderString);

releasenotes.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
* version 1.50
1+
* version 1.60
22

3-
- Completely adapted to new crypto functions.
4-
- Upgraded to new fees calculation.
3+
- Updated label for stake size.

0 commit comments

Comments
 (0)