Post
Topic
Board Service Announcements
Re: [ANN] LeaseRig.net Rent & Hire SHA/SCRYPT/DARK/QUARK HashPower!
by
Fattox
on 01/04/2014, 02:48:20 UTC
It should be P:89.212.242.33,23.236.58.114,W:127.0.0.1

My example:

"api-allow" : "P:23.236.58.114,89.212.242.33,W:127.0.0.1",
"api-groups" : "P:switchpool:addpool:removepool:restart:save:*",

Before i just had it as "W:89.212.242.33,127.0.0.1" and it worked without issue. I'm not sure whether to try this and risk another complaint, or just use LRP. D:

Edit - Actually maybe it worked this way because the LR IP was the first after the "W:". I will give your suggestion a try after all.

Cheers.

You are using this:

-api-groups P:switchpool:addpool:removepool:restart:save:* --api-listen --api-allow W:89.212.242.33,23.236.58.114,127.0.0.1 --api-port 7777


Either change them both to P or W.

W gives full api access

P just gives you whatever commands you denoted after it.

P is the safe bet. Not sure why it worked fine for you before but it is most likely your issue now.



I've now tested:
"P:switchpool:addpool:removepool:restart:save:* --api-allow P:89.212.242.33,23.236.58.114,W:127.0.0.1"
""P:switchpool:addpool:removepool:restart:save:* --api-allow P:89.212.242.33,23.236.58.114,127.0.0.1"

... and it fails to switch pools with either config. I restart my miner after each change.

Any more ideas? If not i will just configure LRP sometime this week i guess.