MultiPoolMiner / MultiPoolMiner

Monitors crypto mining pools in real-time in order to find the most profitable for your machine. Controls any miner that is available via command line.
GNU General Public License v3.0
898 stars 343 forks source link

XMRig Cryptonight (and cryptonight-lite) Nvidia and CPU #417

Closed AcharyaOne closed 6 years ago

AcharyaOne commented 7 years ago

https://github.com/xmrig/xmrig-nvidia https://github.com/xmrig/xmrig

spider703 commented 7 years ago

need for him miner.ps1 in file json i put donate 1 and speed on this miner 94 h against 70.5 h on FireIceCpu

UselessGuru commented 7 years ago

I cannot find a way to retrieve it's hashrate... there is no API, and running it as 'Wrap=$true' causes an 'out of memory' error. If anyone wants to try my unfinished miner file (you will have to add the hash rate file manually): XMRig-NVIDIA0.ps1.txt (rename it to .ps1)

spider703 commented 7 years ago

for CPU miner?

UselessGuru commented 7 years ago

for CPU miner?

The miner file is for NVIDIA.

spider703 commented 7 years ago

I'm trying to make a miner for cpu . .\Include.ps1

$Path = ".\Bin\xmrig-2.4.0\start.cmd" $Uri = "https://github.com/xmrig/xmrig/releases"

$Commands = [PSCustomObject]@{

"bitcore" = "" #Bitcore

#"blake2s" = "" #Blake2s
#"blakecoin" = "" #Blakecoin
#"vanilla" = "" #BlakeVanilla
#"c11" = "" #C11
"cryptonight" = "" #Cryptonight
#"decred" = "" #Decred
#"equihash" = "" #Equihash
#"ethash" = "" #Ethash
#"groestl" = "" #Groestl
#"hmq1725" = "" #HMQ1725
#"jha" = "" #JHA
#"keccak" = "" #Keccak
#"lbry" = "" #Lbry
#"lyra2v2" = "" #Lyra2RE2
#"lyra2z" = "" #Lyra2z
#"m7m" = "" #M7M
#"myr-gr" = "" #MyriadGroestl
#"neoscrypt" = "" #NeoScrypt
#"nist5" = "" #Nist5
#"pascal" = "" #Pascal
#"quark" = "" #Quark
#"qubit" = "" #Qubit
#"scrypt" = "" #Scrypt
#"sia" = "" #Sia
#"sib" = "" #Sib
#"skein" = "" #Skein
#"skunk" = "" #Skunk
#"timetravel" = "" #Timetravel
#"tribus" = "" #Tribus
#"veltor" = "" #Veltor
#"xevan" = "" #Xevan
#"x11" = "" #X11
#"x11evo" = "" #X11evo
#"x17" = "" #X17
#"yescrypt" = "" #Yescrypt

}

$Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName

$Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object { [PSCustomObject]@{ Type = "CPU" Path = $Path Arguments = "-a $ -o stratum+tcp://$($Pools.(Get-Algorithm($)).Host):$($Pools.(Get-Algorithm($)).Port) -u $($Pools.(Get-Algorithm($)).User) -p $($Pools.(Get-Algorithm($)).Pass)$($Commands.$)" HashRates = [PSCustomObject]@{(Get-Algorithm($)) = $Stats."$($Name)$(Get-Algorithm($_))_HashRate".Week} API = "Ccminer" Port = 4048 Wrap = $false URI = $Uri } } speed values are not written to the file XMRCpu_CryptoNight_HashRate.txt

AcharyaOne commented 7 years ago

https://github.com/xmrig/xmrig/releases/tag/v2.4.0 API has been added on cpu version