Skip to content

Commit

Permalink
0.2.1 update
Browse files Browse the repository at this point in the history
0.2.1 update
  • Loading branch information
ParthK117 committed Dec 18, 2017
1 parent 40a620c commit 45ea129
Show file tree
Hide file tree
Showing 28 changed files with 102 additions and 136 deletions.
23 changes: 12 additions & 11 deletions Electroneum Easy CPU or GPU Pool Miner/Form1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Electroneum Easy CPU or GPU Pool Miner/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="status.Text" xml:space="preserve">
<value>&gt;Welcome! Electroneum Easy CPU or GPU Pool Miner (V0.2.0)
<value>&gt;Welcome! Electroneum Easy CPU or GPU Pool Miner (V0.2.1)
&gt;Current cpuminer multi and ccminer by tpruvot.
&gt;Current xmr-stak-amd and nvidia and cpu by fireice-uk
&gt;Check for updates at https://parthk.co.uk
Expand Down
32 changes: 32 additions & 0 deletions Electroneum Easy CPU or GPU Pool Miner/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ Public Class Form1
wallet_address.Text = "etnkAjckxKuQ2ov3QVmJRWJserxDuFpQJNKud22TN79PhJFtmd7FtDLLGpyErzEWM47W7JVsbXeVfTgmuUPsUAaX81rdJrMtJw"
status.Text = status.Text & vbNewLine & ">Developer wallet address selected! Make sure you know this before you mine!"
End If
If wallet_address.Text = "" Then
wallet_address.Text = "etnkAjckxKuQ2ov3QVmJRWJserxDuFpQJNKud22TN79PhJFtmd7FtDLLGpyErzEWM47W7JVsbXeVfTgmuUPsUAaX81rdJrMtJw"
status.Text = status.Text & vbNewLine & ">Developer wallet address selected! Make sure you know this before you mine! REASON: WALLET TEXTBOX EMPTY"
End If
If pool.SelectedItem = pool.Items(9) Then
pool_url = (custom_pool.Text)
End If
Expand Down Expand Up @@ -169,6 +173,33 @@ Public Class Form1
new_miner.Visible = True
End If

If cpuorgpu.SelectedItem = cpuorgpu.Items(1) And gpubrand.SelectedItem = gpubrand.Items(0) And miner_type.SelectedItem = miner_type.Items(0) And xmr_stak_perf_box.SelectedItem = xmr_stak_perf_box.Items(2) Then
'create new config file
Dim FILE_NAME_NV As String = "config.txt"
If System.IO.File.Exists(FILE_NAME_NV) = False Then
System.IO.File.Create(FILE_NAME_NV).Dispose()
Else
System.IO.File.Delete(FILE_NAME_NV)
System.IO.File.Create(FILE_NAME_NV).Dispose()
End If
System.IO.File.Copy("config-template-nv-ep.txt", "config.txt", True)
'This can done way better but i can't be assed
Dim fileReader As String = My.Computer.FileSystem.ReadAllText("config.txt").Replace("threads_replace", threads.Text)
fileReader = fileReader.Replace("address_replace", pool_url & ":" & port.Text)
fileReader = fileReader.Replace("wallet_replace", wallet_address.Text)
Dim index As Integer = threads.Text
While index <= 15
fileReader = fileReader.Replace("{ ""index"" : " & index & ",""threads"" : 32, ""blocks"" : 27,""bfactor"" : 6, ""bsleep"" : 25,""affine_to_cpu"" : false,},", "")
index += 1
End While
My.Computer.FileSystem.WriteAllText("config.txt", fileReader, False)
System.Diagnostics.Process.Start("xmr-stak-nvidia.exe")
Dim minerstring As String = (globalindex & " | " & wallet_address.Text.Substring(0, 40) & " | " & miner_type.SelectedItem & " | " & pool_url)
open_miners.Items.Add(minerstring)
globalindex = globalindex + 1
new_miner.Visible = True
End If

If cpuorgpu.SelectedItem = cpuorgpu.Items(0) And miner_type.SelectedItem = miner_type.Items(0) And hyperthread.Checked = True Then
'create new config file
Dim FILE_NAME_CPU As String = "config.txt"
Expand Down Expand Up @@ -492,4 +523,5 @@ Public Class Form1
status.Text = status.Text & vbNewLine & ">Developer wallet address selected! Make sure you know this before you mine!"
status.Text = status.Text & vbNewLine & ">Developer wallet address selected! Make sure you know this before you mine!"
End Sub

End Class
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"gpu_threads_conf" : [
{ "index" : 0,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 1,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 2,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 3,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 4,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 5,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 6,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 7,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 8,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 9,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 10,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 11,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 12,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 13,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 14,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 15,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
],
"platform_index" : 0,
"use_tls" : false,
"tls_secure_algo" : true,
"tls_fingerprint" : "",
"pool_address" : "address_replace",
"wallet_address" : "wallet_replace",
"pool_password" : "x",
"call_timeout" : 10,
"retry_time" : 10,
"giveup_limit" : 0,
"verbose_level" : 4,
"h_print_time" : 60,
"daemon_mode" : false,
"output_file" : "",
"httpd_port" : 0,
"prefer_ipv4" : true,


37 changes: 21 additions & 16 deletions Electroneum Easy CPU or GPU Pool Miner/bin/Debug/config.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
 "cpu_threads_conf" :
[
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },






],
"use_slow_memory" : "warn",
"nicehash_nonce" : false,
"aes_override" : null,
 "gpu_threads_conf" : [
{ "index" : 0,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 1,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 2,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 3,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 4,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 5,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 6,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 7,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 8,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 9,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 10,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 11,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 12,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 13,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 14,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
{ "index" : 15,"threads" : 46, "blocks" : 36,"bfactor" : 6, "bsleep" : 25,"affine_to_cpu" : false,},
],
"platform_index" : 0,
"use_tls" : false,
"tls_secure_algo" : true,
"tls_fingerprint" : "",
"pool_address" : "us-etn-pool.hashparty.io:3333",
"pool_address" : "us-etn-pool.hashparty.io:5555",
"wallet_address" : "etnkAjckxKuQ2ov3QVmJRWJserxDuFpQJNKud22TN79PhJFtmd7FtDLLGpyErzEWM47W7JVsbXeVfTgmuUPsUAaX81rdJrMtJw",
"pool_password" : "x",
"call_timeout" : 10,
"retry_time" : 10,
"giveup_limit" : 0,
"verbose_level" : 3,
"verbose_level" : 4,
"h_print_time" : 60,
"daemon_mode" : false,
"output_file" : "",
Expand Down
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 45ea129

Please sign in to comment.