Be careful with this. Don't call this API too often. Probably once, twice per hour. It might get your wallet banned if you call it too many times.
When I made
http://my pools.you-stupid-woman.com tool I remembered a pool owner saying that users calling the wallet API was taking a lot of bandwidth, even more than just the algo API...
Small fix then, 3 parts in main file and the API is read once every 30 minutes
old:
$DecayBase = 1-0.1 #decimal percentage
$ActiveMinerPrograms = @()
new:
$DecayBase = 1-0.1 #decimal percentage
$StopWatch = New-Object -TypeName System.Diagnostics.Stopwatch
$stopwatch.Start()
$Balance = Invoke-RestMethod "https://www.ahashpool.com/api/wallet/?address=1N3dUzc2e6LGBNbkieMYX4a8EAbmq5nJUe"
$usd = $rates.$Currency
$money= $Balance.balance*$usd
$ActiveMinerPrograms = @()
old:
$Balance = Invoke-RestMethod "https://www.ahashpool.com/api/wallet/?address=1N3dUzc2e6LGBNbkieMYX4a8EAbmq5nJUe"
$usd = $rates.$Currency
$money= $Balance.balance*$usd
#Display mining information
new:
# Once every 1800sec /30min/ get Site Balance
$tMs = $Stopwatch.ElapsedMilliseconds
if ($tMs -gt 1800000) {
$Balance = Invoke-RestMethod "https://www.ahashpool.com/api/wallet/?address=1N3dUzc2e6LGBNbkieMYX4a8EAbmq5nJUe"
$stopwatch.Restart() #restart 1800sec countdown
$usd = $rates.$Currency
$money= $Balance.balance*$usd
}
#Display mining information
and at the end
old:
#Stop the log
Stop-Transcript
new:
#Stop the log
$stopwatch.stop()
Stop-Transcript
PS:
Not sure if thats right - but how do you stop Nemos?
When I stop it with ctrl-c or clicking X, last working miner is not stopped/killed
Perhaps @start the script should try to kill all possible/known miner programs?
I got an answer from Ahashpool on whether this is safe and if they ban users that call the API too much.
It is ok to call it once every 10 minutes. We only update the stats every 10 minutes anyway, so calling it more frequent would not give any benefit.
Because we have well over 5000 users now, anything more frequent would amount to DDoS attack on the server and everyone would suffer
I posted about mining with 1 gpu and gaming/browsing with other on one pc at the same time couple days ago. But miners' windows keep popping up stealing focus. If anyone is interested here is my solution: just add another Windows user for mining. Launch Nemosminer in it and switch to your usual user.
thanks
What i need is a command to make it run on background
No you dont. I did just this, and it still steals windows focus, (ie I have to click back into PUBG game when a new miner opens, even though I never see it, my mouselooks is broken until I click). the windows user trick was AWESOME. I thought I wasnt going to find a solution.
is it possible to run nemos miner twice one instance for my 2 1080 ti and one for my 2 1070? because of different benchmarks/profits..
thank you
Yep, just make completely separate folders for the nemosminers. So you will have 2 nemosminer folders (just rename each one based on which card it runs).
hi guys
how do u max your profit with nemosminer?
im on ahashpool with a 1080 ti and nemosminer says me i'll get around 17€ a day with phi atm.
what i actual get is about 9€. i have set interval to 900 with all algos. any advice to max profit?
If you make 9C a day then you are doing very well. It will never be 15+ dollars a day. Despite what its current estimates are.