Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Public Property SoloCommand As String
- Public Property PoolCommand As String
- Public Property MiningClient As Object
- Private Function Runscript(text As String) As Object
- Throw New NotImplementedException()
- End Function
- Private Sub SoloRadio_CheckedChanged(sender As Object, e As EventArgs) Handles SoloRadio.CheckedChanged
- Me.PrivKey.Visible = True
- Me.PrivKeyLabel.Visible = True
- Me.PubKey.Visible = True
- Me.PubKeyLabel.Visible = True
- Me.Wallet.Visible = False
- Me.WalletLabel.Visible = False
- Me.SoloCommand = "1.." & Threads.Text & " | ForEach-Object -Parallel { .\php.exe -c php.ini miner solo https://peer100.jengas.io/" & PubKey.Text & " " & PrivKey.Text & "; sleep 1; } -ThrottleLimit " & Threads.Text
- End Sub
- Private Sub PoolRadio_CheckedChanged(sender As Object, e As EventArgs) Handles PoolRadio.CheckedChanged
- Me.PrivKey.Visible = False
- Me.PrivKeyLabel.Visible = False
- Me.PubKey.Visible = False
- Me.PubKeyLabel.Visible = False
- Me.Wallet.Visible = True
- Me.WalletLabel.Visible = True
- Me.PoolCommand = "1 .." & Threads.Text & " | ForEach-Object -Parallel { .\php.exe -c php.ini miner pool http://pool.jengas.io/" & Wallet.Text & "; sleep 1;} -ThrottleLimit" & Threads.Text
- End Sub
- Public Sub Mine_Click(sender As Object, e As EventArgs) Handles Mine.Click
- If SoloRadio.Checked = True Then
- MyConsole.TB.Text = "1.." & Threads.Text & " | ForEach-Object -Parallel { .\php.exe -c php.ini miner solo https://peer100.jengas.io/" & PubKey.Text & " " & PrivKey.Text & "; sleep 1; } -ThrottleLimit " & Threads.Text
- Else
- If PoolRadio.Checked = True Then
- MyConsole.TB.Text = "1 .." & Threads.Text & " | ForEach-Object -Parallel { .\php.exe -c php.ini miner pool http://pool.jengas.io/" & Wallet.Text & "; sleep 1;} -ThrottleLimit " & Threads.Text
- End If
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement