rahimkhoja / monero-universal-pool

Fork of cryptonote-universal-pool
http://monero.hiive.biz
GNU General Public License v2.0
17 stars 18 forks source link

Invalid API call #4

Open Dywen opened 6 years ago

Dywen commented 6 years ago

Hi i face a systematic "Invalid API call", don't know why....

API part on my pool config.json file :

"api": {
    "enabled": true,
    "hashrateWindow": 600,
    "updateInterval": 5,
    "port": 8117,
    "blocks": 30,
    "payments": 30,
    "password": "seceret_pass"
},

My website config.js file :

var api = "http://X.X.X.X:8117";

var poolHost = "http://X.X.X.X:8117";

var irc = "irc.freenode.net/#hiive";

var email = "support@hiive.biz";

var cryptonatorWidget = ["{symbol}-BTC", "{symbol}-CAD", "{symbol}-USD", "BTC-CAD", "BTC-USD"];

var easyminerDownload = "https://github.com/zone117x/cryptonote-easy-miner/releases/";

var blockchainExplorer = "http://chainradar.com/{symbol}/block/{id}";

var transactionExplorer = "http://chainradar.com/{symbol}/transaction/{id}";

var themeCss = "themes/default-theme.css";

For the api and poolHost vars, i've set my LAN ip address and set some NAT on my router to translate WAN access to LAN on the 8117 port.

Any idea? thank you

ZachVan commented 6 years ago

Where do you see "Invalid api call"? On the pool, coin, or website?