Skip to content

Commit

Permalink
update 0.2.5
Browse files Browse the repository at this point in the history
+ important bugfix of 'port' of pools
+ minor improvements
  • Loading branch information
daWallet committed Apr 30, 2016
1 parent baf57a5 commit 11710db
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 22 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/BurstWallet2.dfm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Burst Client for Win v0.2.4'
Caption = 'Burst Client for Win v0.2.5'
ClientHeight = 558
ClientWidth = 996
Color = clBtnFace
Expand Down
9 changes: 8 additions & 1 deletion Source/Unit4.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ object Form4: TForm4
PopupMode = pmExplicit
Position = poMainFormCenter
OnActivate = FormActivate
OnCreate = FormCreate
OnHide = FormHide
PixelsPerInch = 96
TextHeight = 13
Expand Down Expand Up @@ -95,6 +94,14 @@ object Form4: TForm4
Height = 13
Caption = 'or'
end
object Label9: TLabel
Left = 34
Top = 152
Width = 155
Height = 13
Caption = '>Click here to show a shortcut<'
OnClick = Label9Click
end
object Button1: TButton
Left = 395
Top = 74
Expand Down
51 changes: 32 additions & 19 deletions Source/Unit4.pas
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ TForm4 = class(TForm)
Button4: TButton;
Label1: TLabel;
Label8: TLabel;
Label9: TLabel;
procedure Button2Click(Sender: TObject);
procedure FormActivate(Sender: TObject);
procedure FormHide(Sender: TObject);
Expand All @@ -32,7 +33,7 @@ TForm4 = class(TForm)
procedure Button5Click(Sender: TObject);
procedure ComboBox1Change(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure Label9Click(Sender: TObject);
private
{ Private-Deklarationen }
p: Textfile;
Expand All @@ -48,7 +49,7 @@ TForm4 = class(TForm)
implementation

{$R *.dfm}
uses BurstWallet2;
uses BurstWallet2, Unit7;

function IsDirectoryEmpty(const directory : string) : boolean;
var
Expand Down Expand Up @@ -88,6 +89,12 @@ procedure TForm4.Button1Click(Sender: TObject);
else

begin
begin
if label6.Caption = 'pool.burstcoin.de' then
port := '8080'
else
port := '8124';
end;
directories:= ListBox1.Items.GetText;
directories:= StringReplace(directories, '\', '\\', [rfReplaceAll, rfIgnoreCase]);

Expand All @@ -102,13 +109,13 @@ procedure TForm4.Button1Click(Sender: TObject);
Writeln(T,'{');
Writeln(T,'"Mode" : "pool",');
Writeln(T,'"Server" : "'+Label6.Caption+'",');
Writeln(T,'"Port" : "'+port+'",');
Writeln(T,'"Port" : '+port+',');
Writeln(T,'');
Writeln(T,'"UpdaterAddr" : "'+Label6.Caption+'",');
Writeln(T,'"UpdaterPort" : 8124,');
Writeln(T,'"UpdaterPort" : '+port+',');
Writeln(T,'');
Writeln(T,'"InfoAddr" : "'+Label6.Caption+'",');
Writeln(T,'"InfoPort" : 8124,');
Writeln(T,'"InfoPort" : '+port+',');
Writeln(T,'');
Writeln(T,'"EnableProxy" : false,');
Writeln(T,'"ProxyPort" : 8126,');
Expand Down Expand Up @@ -173,6 +180,7 @@ procedure TForm4.Button2Click(Sender: TObject);


clipboard2 := TClipBoard.create;

if Label6.Caption = 'burst.ninja' then
clipboard2.AsText:='BURST-7CPJ-BW8N-U4XF-CWW3U';
if Label6.Caption = 'pool.burstcoin.it' then
Expand Down Expand Up @@ -207,6 +215,14 @@ procedure TForm4.Button4Click(Sender: TObject);
else

begin

begin
if label6.Caption = 'pool.burstcoin.de' then
port := '8080'
else
port := '8124';
end;

directories:= ListBox1.Items.GetText;
directories:= StringReplace(directories, '\', '\\', [rfReplaceAll, rfIgnoreCase]);

Expand All @@ -216,18 +232,18 @@ procedure TForm4.Button4Click(Sender: TObject);
delete(directories, length(directories), 1);

begin
AssignFile(t,'miner-burst-1.160420/miner.conf');
AssignFile(t,'miner-burst-1.160420/miner.conf');
Rewrite(T);
Writeln(T,'{');
Writeln(T,'"Mode" : "pool",');
Writeln(T,'"Server" : "'+Label6.Caption+'",');
Writeln(T,'"Port" : "'+port+'",');
Writeln(T,'"Port" : '+port+',');
Writeln(T,'');
Writeln(T,'"UpdaterAddr" : "'+Label6.Caption+'",');
Writeln(T,'"UpdaterPort" : 8124,');
Writeln(T,'"UpdaterPort" : '+port+',');
Writeln(T,'');
Writeln(T,'"InfoAddr" : "'+Label6.Caption+'",');
Writeln(T,'"InfoPort" : 8124,');
Writeln(T,'"InfoPort" : '+port+',');
Writeln(T,'');
Writeln(T,'"EnableProxy" : false,');
Writeln(T,'"ProxyPort" : 8126,');
Expand All @@ -236,12 +252,12 @@ procedure TForm4.Button4Click(Sender: TObject);
Writeln(T,'[');
Writeln(T,' "'+directories+'"');
Writeln(T,'],');
Writeln(T,'"CacheSize" : 40000,');
Writeln(T,'"CacheSize" : 100000,');
Writeln(T,'"ShowMsg" : false,');
Writeln(T,'"ShowUpdates" : false,');
Writeln(T,'');
Writeln(T,'"Debug" : true,');
// Writeln(T,'"UseHDDWakeUp" : true,');
//Writeln(T,'"UseHDDWakeUp" : true,');
Writeln(T,'');
Writeln(T,'"SendBestOnly" : true,');
Writeln(T,'"TargetDeadline": 4000000,');
Expand Down Expand Up @@ -367,14 +383,6 @@ procedure TForm4.FormActivate(Sender: TObject);

end;

procedure TForm4.FormCreate(Sender: TObject);
begin
if label6.Caption = 'pool.burstcoin.de' then
port := '8080'
else
port := '8124';
end;

procedure TForm4.FormHide(Sender: TObject);
begin
ListBox1.Items.Clear;
Expand All @@ -385,4 +393,9 @@ procedure TForm4.Label11Click(Sender: TObject);
ShellExecute(0, 'open', 'http://faucet.burst-team.us', nil, nil, SW_SHOWNORMAL);
end;

procedure TForm4.Label9Click(Sender: TObject);
begin
Form7.Show;
end;

end.
2 changes: 1 addition & 1 deletion Source/Unit6.pas
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ procedure TForm6.ListBox1DblClick(Sender: TObject);
fileName := ListBox1.Items[ListBox1.ItemIndex];
clipboard.AsText := HexToString(EnDeCrypt(TFile.ReadAllText(fileName)));

Showmessage('Passphrase of ' + ListBox1.Items[ListBox1.ItemIndex] + ' is now in your clipboard! Use Right-Click -> Paste');
Showmessage('Passphrase of ' + ListBox1.Items[ListBox1.ItemIndex] + ' is now for 30 seconds in your clipboard! Use Right-Click -> Paste');
Timer1.Enabled:=true;
hide;
end;
Expand Down
Binary file modified burst_1.2.3/Burst_Wallet.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ _____

Changelog:

0.2.5

+ port bugfix for miners
+ minor improvements

0.2.4

+ 3 new pools available
Expand Down
60 changes: 60 additions & 0 deletions source/Unit7.dfm
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
object Form7: TForm7
Left = 0
Top = 0
Caption = 'Fast Wallet Syncing'
ClientHeight = 151
ClientWidth = 555
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 24
Top = 32
Width = 122
Height = 13
Caption = '1. Download Zip file from '
end
object Label2: TLabel
Left = 24
Top = 51
Width = 61
Height = 13
Caption = '2. Unzip files'
end
object Label3: TLabel
Left = 24
Top = 89
Width = 517
Height = 13
Caption =
'4. Move files to: C:\Users\Username\AppData\Roaming\BurstWallet\' +
'burst_db\ (folder \AppData\ is hidden!)'
end
object Label4: TLabel
Left = 24
Top = 108
Width = 70
Height = 13
Caption = '5. Start Wallet'
end
object Label5: TLabel
Left = 24
Top = 70
Width = 151
Height = 13
Caption = '3. Shut down Wallet completely'
end
object Label6: TLabel
Left = 152
Top = 32
Width = 116
Height = 13
Caption = 'http://db.burst-team.us'
end
end
30 changes: 30 additions & 0 deletions source/Unit7.pas
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
unit Unit7;

interface

uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;

type
TForm7 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;

var
Form7: TForm7;

implementation

{$R *.dfm}

end.

0 comments on commit 11710db

Please sign in to comment.