This repository was archived by the owner on Sep 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Original file line number Diff line number Diff line change
1
+ * version 1.60
2
+
3
+ - Updated label for stake size.
4
+
1
5
* version 1.50
2
6
3
7
- Completely adapted to new crypto functions.
Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ function GetAddressFromPublicKey(PubKey:String):String;
80
80
Begin
81
81
PubSHAHashed := HashSha256String(PubKey);
82
82
Hash1 := HashMD160String(PubSHAHashed);
83
- hash1 := B16ToB58 (Hash1);
83
+ hash1 := BMHexTo58 (Hash1, 58 );
84
84
sumatoria := BMB58resumen(Hash1);
85
- clave := B10ToB58 (sumatoria);
85
+ clave := BMDecTo58 (sumatoria);
86
86
hash2 := hash1+clave;
87
87
Result := ' N' +hash2;
88
88
End ;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ TUpdateThread = class(TThread)
142
142
Comisiontrfr = 10000 ;
143
143
MinimunFee = 1000000 ;
144
144
Protocol = 2 ;
145
- ProgramVersion = ' 1.50 ' ;
145
+ ProgramVersion = ' 1.60 ' ;
146
146
147
147
HexAlphabet : string = ' 0123456789ABCDEF' ;
148
148
B58Alphabet : string = ' 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' ;
Original file line number Diff line number Diff line change @@ -143,6 +143,8 @@ implementation
143
143
Int_TotalSupply := (GetSumaryLastBlock *50 )+10303 ;
144
144
supply := Int_TotalSupply/1000000 ;
145
145
Int_StakeSize := (Int_TotalSupply div 500 )+1 ;
146
+ if Int_StakeSize > 11000 then Int_StakeSize := 11000 ;
147
+ if GetSumaryLastBlock > 110000 then Int_StakeSize := 10500 ;
146
148
supply := ((GetSumaryLastBlock *50 )+10303 )/1000000 ;
147
149
if Wallet_Synced then form1.PanelBlockInfo.Color:=clGreen
148
150
else form1.PanelBlockInfo.Color:=clRed;
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ function SendOrder(OrderString:String):String;
38
38
Client.Port:=thisnode.port;
39
39
Client.ConnectTimeout:= 3000 ;
40
40
Client.ReadTimeout:=3000 ;
41
- // Tolog(OrderString);
42
41
TRY
43
42
Client.Connect;
44
43
Client.IOHandler.WriteLn(OrderString);
Original file line number Diff line number Diff line change 1
- * version 1.50
1
+ * version 1.60
2
2
3
- - Completely adapted to new crypto functions.
4
- - Upgraded to new fees calculation.
3
+ - Updated label for stake size.
You can’t perform that action at this time.
0 commit comments