zone117x / node-open-mining-portal

A scalable all-in-one easy to setup cryptocurrency mining pool and portal written entirely in Node.js.
GNU General Public License v2.0
1.02k stars 1.03k forks source link

DarkCoin can not start the pool #357

Open candeoarup opened 10 years ago

candeoarup commented 10 years ago

[darkcoin](Thread 2) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}

crackfoo commented 10 years ago

blockchain is probably still syncing... or you're not using the right port.

On Wed, Aug 13, 2014 at 7:27 AM, candeoarup notifications@github.com wrote:

darkcoin http://Thread%202 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357.

sigwo commented 10 years ago

It is definitely a connection issue. Downloading chain doesn't error, NOMP informs you that it will start the pool upon finishing the block chain download.

On Wednesday, August 13, 2014, crackfoo notifications@github.com wrote:

blockchain is probably still syncing... or you're not using the right port.

On Wed, Aug 13, 2014 at 7:27 AM, candeoarup <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

darkcoin http://Thread%202 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"}

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357.

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-52038511 .

candeoarup commented 10 years ago

Following are my code. Please help where I need to change.

~/.darkcoin/darkcoin.conf server=1 daemon=1 gen=0 rpcport=8332 rpcallowip=127.0.0.1 rpcuser=username rpcpassword=password addnode=23.23.186.131

~/pool_configs/darkcoin.json

{ "enabled": true,//true false "coin": "darkcoin.json", "address": "Xgmn8asrry9KHXZFF74LZNvX8NZFjNqTGo", "rewardRecipients":{ "Xgmn8asrry9KHXZFF74LZNvX8NZFjNqTGo":1.0 }, "paymentProcessing":{
"enabled":false, "paymentInterval":20, "minimumPayment":70, "daemon":{ "host":"127.0.0.1", "port":8332, "user":"username", "password":"password" } },
"ports":{
"3331":{ "diff":32, "varDiff":{ "minDiff":8, "maxDiff":512, "targetTime":15, "retargetTime":90, "variancePercent":30 } } }, "daemons":[
{ "host":"127.0.0.1", "port":8332, "user":"username", "password":"password" } ], "p2p": { "enabled":false, "host":"127.0.0.1", "port":19333, "disableTransactions":true }, "mposMode":{
"enabled":false, "host":"127.0.0.1", "port":3306, "user":"user", "password":"password", "database":"drk", "checkPassword":true, "autoCreateWorker":false }

}

crackfoo commented 10 years ago

And what do you get when you run:

darkcoind getinfo

On Wed, Aug 13, 2014 at 9:05 AM, candeoarup notifications@github.com wrote:

Following are my code. Please help where I need to change.

~/.darkcoin/darkcoin.conf server=1 daemon=1 gen=0 rpcport=8332 rpcallowip=127.0.0.1 rpcuser=username rpcpassword=password addnode=23.23.186.131

~/pool_configs/darkcoin.json

{ "enabled": true,//true false "coin": "darkcoin.json", "address": "Xgmn8asrry9KHXZFF74LZNvX8NZFjNqTGo", "rewardRecipients":{ "Xgmn8asrry9KHXZFF74LZNvX8NZFjNqTGo":1.0 }, "paymentProcessing":{

"enabled":false, "paymentInterval":20, "minimumPayment":70, "daemon":{ "host":"127.0.0.1", "port":8332, "user":"username", "password":"password" } },

"ports":{

"3331":{ "diff":32, "varDiff":{ "minDiff":8, "maxDiff":512, "targetTime":15, "retargetTime":90, "variancePercent":30 } } }, "daemons":[

{ "host":"127.0.0.1", "port":8332, "user":"username", "password":"password" } ], "p2p": { "enabled":false, "host":"127.0.0.1", "port":19333, "disableTransactions":true }, "mposMode":{

"enabled":false, "host":"127.0.0.1", "port":3306, "user":"user", "password":"password", "database":"drk", "checkPassword":true, "autoCreateWorker":false }

}

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-52039498 .

candeoarup commented 10 years ago

Following are the ouput. Check that there is two line saying 'Could not start the pool'

2014-08-13 11:50:33 [POSIX] [Connection Limit](Safe to ignore) POSIX module not installed and resource (connection) limit was not raised 2014-08-13 11:50:33 [Master] [CLI] CLI listening on port 7777 2014-08-13 11:50:34 [Profit] [Config] No alternative coins to switch to in current config, switching disabled. 2014-08-13 11:50:34 [Master] [PoolSpawner] Spawned 1 pool(s) on 2 thread(s) 2014-08-13 11:50:34 [Switching] [Setup](Thread 1) Loading last proxy state from redis 2014-08-13 11:50:34 [Pool] [darkcoin](Thread 1) Share processing setup with redis (127.0.0.1:6379) 2014-08-13 11:50:34 [Pool] [darkcoin](Thread 1) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} 2014-08-13 11:50:34 [Switching] [Setup](Thread 1) Last proxy state loaded from redis 2014-08-13 11:50:34 [Switching] [Setup](Thread 1) Switching "switch1" listening for x11 on port 3333 into darkcoin 2014-08-13 11:50:34 [Switching] [Setup](Thread 2) Loading last proxy state from redis 2014-08-13 11:50:34 [Pool] [darkcoin](Thread 2) Share processing setup with redis (127.0.0.1:6379) 2014-08-13 11:50:34 [Pool] [darkcoin](Thread 2) Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} 2014-08-13 11:50:34 [Switching] [Setup](Thread 2) Last proxy state loaded from redis 2014-08-13 11:50:34 [Switching] [Setup](Thread 2) Switching "switch1" listening for x11 on port 3333 into darkcoin

sigwo commented 10 years ago

That's not the output of darkcoind getinfo....did the pool ever work? Or is this the first attempt?

On Wednesday, August 13, 2014, candeoarup notifications@github.com wrote:

Following are the ouput. Check that there is two line saying 'Could not start the pool'

2014-08-13 11:50:33 [POSIX] Connection Limit http://Safe%20to%20ignore POSIX module not installed and resource (connection) limit was not raised 2014-08-13 11:50:33 [Master] [CLI] CLI listening on port 7777 2014-08-13 11:50:34 [Profit] [Config] No alternative coins to switch to in current config, switching disabled. 2014-08-13 11:50:34 [Master] [PoolSpawner] Spawned 1 pool(s) on 2 thread(s) 2014-08-13 11:50:34 [Switching] Setup http://Thread%201 Loading last proxy state from redis 2014-08-13 11:50:34 [Pool] darkcoin http://Thread%201 Share processing setup with redis (127.0.0.1:6379) 2014-08-13 11:50:34 [Pool] darkcoin http://Thread%201 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} 2014-08-13 11:50:34 [Switching] Setup http://Thread%201 Last proxy state loaded from redis 2014-08-13 11:50:34 [Switching] Setup http://Thread%201 Switching "switch1" listening for x11 on port 3333 into darkcoin 2014-08-13 11:50:34 [Switching] Setup http://Thread%202 Loading last proxy state from redis 2014-08-13 11:50:34 [Pool] darkcoin http://Thread%202 Share processing setup with redis (127.0.0.1:6379) 2014-08-13 11:50:34 [Pool] darkcoin http://Thread%202 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} 2014-08-13 11:50:34 [Switching] Setup http://Thread%202 Last proxy state loaded from redis 2014-08-13 11:50:34 [Switching] Setup http://Thread%202 Switching "switch1" listening for x11 on port 3333 into darkcoin

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-52042757 .

candeoarup commented 10 years ago

Actually this is my first attempt. Can you, please help me.

crackfoo commented 10 years ago

provide what we ask for, or no, you are helpless.

darkcoind getinfo

On Wed, Aug 13, 2014 at 9:49 AM, candeoarup notifications@github.com wrote:

Actually this is my first attempt. Can you, please help me.

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-52043231 .

candeoarup commented 10 years ago

dark_coin

crackfoo commented 10 years ago

blocks = 0 , you're not connected to the network.

Find nodes in their thread.

On Wed, Aug 13, 2014 at 10:25 AM, candeoarup notifications@github.com wrote:

[image: dark_coin] https://cloud.githubusercontent.com/assets/8425725/3905879/2ca346f8-22ed-11e4-8478-82886950b2a0.PNG

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-52046939 .

sigwo commented 10 years ago

add dnsseed=1 to your darkcoin.conf

candeoarup commented 10 years ago

@sigwo I have added line to my darkcoin.conf.

Do I need to do anything more for conected to the network.

sigwo commented 10 years ago

restart the daemon. wait 30 seconds, give output of darkcoind getinfo again

sigwo commented 10 years ago

Now, you'll need to fix the vardiff settings in your pool_config file and the switching port in config.json. :-)

candeoarup commented 10 years ago

@crackfoo I have already added following node to the conf file.

23.23.186.131

candeoarup commented 10 years ago

@sigwo same result after adding that line.

What I need to change in vardiff settings ?

sigwo commented 10 years ago

Did your wallet ever start to sync on the network?

On Wed, Aug 13, 2014 at 10:40 AM, candeoarup notifications@github.com wrote:

@sigwo https://github.com/sigwo same result after adding that line.

What I need to change in vardiff settings ?

— Reply to this email directly or view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-52057303 .

mharrisr commented 6 years ago

I'm having the same issue for cannabiscoin, can you please help me to sort it out?

ghost commented 6 years ago
cannabiscoind getinfo

What info see?

mharrisr commented 6 years ago

I have posted the issue here with screen: https://github.com/UNOMP/unified-node-open-mining-portal/issues/239

ghost commented 6 years ago

coin daemon is online?

mharrisr commented 6 years ago

Yes its online

mharrisr commented 6 years ago

root@vps81277:~/unomp# CannabisCoind getinfo { "version" : 80701, "protocolversion" : 70015, "walletversion" : 60000, "balance" : 0.00000000, "blocks" : 0, "timeoffset" : 0, "connections" : 0, "proxy" : "", "difficulty" : 0.00024414, "testnet" : false, "keypoololdest" : 1515043786, "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "errors" : "" }

ghost commented 6 years ago

It's not online

"connections" : 0,

It's not synced

"blocks" : 0,
mharrisr commented 6 years ago

Please help me to sort this issue, I'm a novice to this pool

mharrisr commented 6 years ago

Here is the latest out put for coin demon:

When I try the getinfo now I got this output: { "version" : 80701, "protocolversion" : 70015, "walletversion" : 60000, "balance" : 0.00000000, "blocks" : 559941, "timeoffset" : -1, "connections" : 8, "proxy" : "", "difficulty" : 18.99941678, "testnet" : false, "keypoololdest" : 1515043786, "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "errors" : "" } https://github.com/mharrisr

On Thu, Jan 4, 2018 at 12:37 PM, Alexander notifications@github.com wrote:

It's not online

"connections" : 0,

It's not synced

"blocks" : 0,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-355213165, or mute the thread https://github.com/notifications/unsubscribe-auth/AgNqMqtD6nN5hgUN5UUw2_2lJhOx25Oiks5tHHjEgaJpZM4CW3Kt .

ghost commented 6 years ago

Check wallet addresses. Error with check address.

mharrisr commented 6 years ago

yes corrected with wallet address, when I run the command now it returns:

`[2018-01-04 15:56:33.854] [DEBUG] [default] - Pool cannabiscoin Thread 1 Share processing setup with redis (127.0.0.1:6379) [2018-01-04 15:56:33.952] [INFO] [default] - New Relic [2018-01-04 15:56:33.965] [INFO] [default] - Setting POSIX [2018-01-04 15:56:33.967] [INFO] [default] - POSIX Set [2018-01-04 15:56:33.968] [INFO] [default] - Run Workers [2018-01-04 15:56:34.072] [INFO] [default] - Switching Setup Thread 2 Loading last proxy state from redis [2018-01-04 15:56:34.170] [DEBUG] [default] - Pool cannabiscoin Thread 2 Share processing setup with redis (127.0.0.1:6379) [2018-01-04 15:56:35.260] [DEBUG] [default] - Pool cannabiscoin Thread 1 Daemon is still syncing with network (download blockchain) - server will be started once synced

/root/unomp/node_modules/merged-pooler/lib/pool.js:183 return b.response.blocks - a.response.blocks; ^ TypeError: Cannot read property 'blocks' of undefined at blockCount (/root/unomp/node_modules/merged-pooler/lib/pool.js:183:58) at Array.sort (native) at /root/unomp/node_modules/merged-pooler/lib/pool.js:182:42 at /root/unomp/node_modules/merged-pooler/lib/daemon.js:175:17 at /root/unomp/node_modules/merged-pooler/node_modules/async/dist/async.js:473:16 at iteratorCallback (/root/unomp/node_modules/merged-pooler/node_modules/async/dist/async.js:1050:13) at /root/unomp/node_modules/merged-pooler/node_modules/async/dist/async.js:958:16 at itemFinished (/root/unomp/node_modules/merged-pooler/lib/daemon.js:158:17) at /root/unomp/node_modules/merged-pooler/lib/daemon.js:169:17 at parseJson (/root/unomp/node_modules/merged-pooler/lib/daemon.js:85:17) [2018-01-04 15:56:35.420] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...

events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:901:11) at Server._listen2 (net.js:1039:14) at listen (net.js:1061:10) at net.js:1143:9 at dns.js:72:18 at process._tickCallback (node.js:415:13) ` and when running the getinfo:

`root@vps81277:~/unomp# CannabisCoind getinfo { "version" : 80701, "protocolversion" : 70015, "walletversion" : 60000, "balance" : 0.00000000, "blocks" : 880252, "timeoffset" : -2, "connections" : 18, "proxy" : "", "difficulty" : 3.46108024, "testnet" : false, "keypoololdest" : 1515043786, "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "errors" : "" }

ghost commented 6 years ago
Daemon is still syncing with network (download blockchain) - server will be started once synced

And what You didn't understand? https://chainz.cryptoid.info/cann/ Block Height 2635937 Your "blocks" : 880252

mharrisr commented 6 years ago

I want to fix the above error and when I changed the port numbers in coin.jason it returns could not start the pool error: Can you please guide me what port I have to use in coin.jason and coin.conf , that is the only confusion I'm in right now. Please help me...

root@vps81277:~/unomp# sudo node init.js [2018-01-05 10:40:09.765] [INFO] [default] - New Relic [2018-01-05 10:40:09.767] [DEBUG] [default] - NewRelic Monitor New Relic initiated [2018-01-05 10:40:09.769] [INFO] [default] - Setting POSIX [2018-01-05 10:40:09.769] [INFO] [default] - POSIX Set [2018-01-05 10:40:09.769] [INFO] [default] - Run Workers [2018-01-05 10:40:10.963] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool(s) on 4 thread(s) [2018-01-05 10:40:13.960] [INFO] [default] - New Relic [2018-01-05 10:40:13.970] [INFO] [default] - Setting POSIX [2018-01-05 10:40:13.972] [INFO] [default] - POSIX Set [2018-01-05 10:40:13.983] [INFO] [default] - Run Workers [2018-01-05 10:40:14.065] [INFO] [default] - Switching Setup Thread 2 Loading last proxy state from redis null [2018-01-05 10:40:14.159] [DEBUG] [default] - Pool cannabiscoin Thread 2 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} [2018-01-05 10:40:14.165] [DEBUG] [default] - Pool cannabiscoin Thread 2 Share processing setup with redis (127.0.0.1:6379) [2018-01-05 10:40:14.168] [DEBUG] [default] - Switching Setup Thread 2 Last proxy state loaded from redis [2018-01-05 10:40:14.655] [INFO] [default] - New Relic [2018-01-05 10:40:14.664] [INFO] [default] - Setting POSIX [2018-01-05 10:40:14.666] [INFO] [default] - POSIX Set [2018-01-05 10:40:14.666] [INFO] [default] - Run Workers [2018-01-05 10:40:14.765] [INFO] [default] - Switching Setup Thread 4 Loading last proxy state from redis null [2018-01-05 10:40:14.866] [DEBUG] [default] - Pool cannabiscoin Thread 4 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} [2018-01-05 10:40:14.872] [DEBUG] [default] - Pool cannabiscoin Thread 4 Share processing setup with redis (127.0.0.1:6379) [2018-01-05 10:40:14.873] [DEBUG] [default] - Switching Setup Thread 4 Last proxy state loaded from redis [2018-01-05 10:40:15.775] [INFO] [default] - New Relic [2018-01-05 10:40:15.806] [INFO] [default] - Setting POSIX [2018-01-05 10:40:15.806] [INFO] [default] - POSIX Set [2018-01-05 10:40:15.807] [INFO] [default] - Run Workers [2018-01-05 10:40:15.867] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis null [2018-01-05 10:40:15.964] [DEBUG] [default] - Pool cannabiscoin Thread 1 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} [2018-01-05 10:40:15.974] [DEBUG] [default] - Pool cannabiscoin Thread 1 Share processing setup with redis (127.0.0.1:6379) [2018-01-05 10:40:15.975] [DEBUG] [default] - Switching Setup Thread 1 Last proxy state loaded from redis [2018-01-05 10:40:16.559] [INFO] [default] - New Relic [2018-01-05 10:40:16.562] [INFO] [default] - Setting POSIX [2018-01-05 10:40:16.563] [INFO] [default] - POSIX Set

mharrisr commented 6 years ago

How can I know that blockchain sync is completed?

ghost commented 6 years ago
How can I know that blockchain sync is completed?

https://github.com/zone117x/node-open-mining-portal/issues/357#issuecomment-355487122

mharrisr commented 6 years ago

Can't understand... Please make me clear

ghost commented 6 years ago
  1. Check your blocks with "getinfo"
  2. Check blocks in mainnet from link https://chainz.cryptoid.info/cann/
  3. Compare 1 vs 2.
mharrisr commented 6 years ago

Currently, it shows: 1440901 and the current block height is 2639881, how much time it will take to complete syncing?

ghost commented 6 years ago

@mharrisr It's no NOMP questions.

mharrisr commented 6 years ago

@foxer666, Thanks a lot for your comments to my queries, still waiting to complete the sync

ghost commented 6 years ago

@mharrisr Try find torrent download of blockchain or bootstrap.dat of your coin. Will be quickly to sync.

mharrisr commented 6 years ago

Can you please guide me on how to do it?

ghost commented 6 years ago

https://www.google.ru/search?newwindow=1&ei=l7RUWuG7NcTF6ATm1aSQDw&q=cannabis+coin+bootstrap&oq=cannabis+coin+bootstrap&gs_l=psy-ab.3..0i13k1.39114.45145.0.45408.23.23.0.0.0.0.122.1703.20j2.22.0....0...1c.1.64.psy-ab..1.22.1679...0j35i39k1j0i67k1j0i131k1j0i10i67k1j0i10k1j0i203k1j0i10i203k1j0i22i10i30k1j0i22i30k1j33i21k1j33i160k1.0.khlEsdHSIu8

http://cryptochainer.com/dir/

http://108.61.216.160/cryptochainer.chains/chains/CannabisCoin_blockchain.zip

http://cryptochainer.com/dir/?page_id=154

mharrisr commented 6 years ago

@foxer666, Finally the block has reached the height, here is the latest getinfo as of now: root@vps81277:~# CannabisCoind getinfo { "version" : 80701, "protocolversion" : 70015, "walletversion" : 60000, "balance" : 0.00000000, "blocks" : 2654094, "timeoffset" : -3, "connections" : 21, "proxy" : "", "difficulty" : 677780.08294908, "testnet" : false, "keypoololdest" : 1515043786, "keypoolsize" : 101, "paytxfee" : 0.00000000, "mininput" : 0.00001000, "errors" : "" But the website is not showing the stats, when run the command it shows: [2018-01-14 05:34:43.673] [DEBUG] [default] - Pool cannabiscoin Thread 4 Could not start pool, error with init batch RPC call: {"type":"offline","message":"connect ECONNREFUSED"} [2018-01-14 05:34:43.674] [DEBUG] [default] - Pool cannabiscoin Thread 4 Share processing setup with redis (127.0.0.1:6379) [2018-01-14 05:34:43.675] [DEBUG] [default] - Switching Setup Thread 4 Last proxy state loaded from redis

Can you please give me a c;lue on where I'm missing?

ghost commented 6 years ago

It seems wrong config of daemon in pool config. Is there server=1 and daemon=1 in coin config?

mharrisr commented 6 years ago

I have entered server=1 but not entered daemon=1 in the .conf file, now entered the both but still the same issue. Here is the entries in .conf file: server=1 daemon=1 listen=1 rpcuser=Coinrpc rpcpassword=xxxxxxxxxxxx rpcport=39347 rpcallowip=127.0.0.1 dnsseed=1 gen=0 addnode=seed.cannabiscoin.net addnode=seed2.cannabiscoin.net addnode=seed3.cannabiscoin.net addnode=seed4.cannabiscoin.net addnode=seed5.cannabiscoin.net addnode=seed6.cannabiscoin.net addnode=cann.cryptoservices.net more IP's listed

Now when I tried the command: CannabisCoind getinfo it says Couldn't connect to server.

ghost commented 6 years ago

Did you restarted coin daemon?

mharrisr commented 6 years ago

@foxer666, it shows "error: no response from server". already restarted the daemon Also when I run the sudo node init.js it shows:

Pool coin Thread 4 Could not parse rpc data from daemon instance 1 Request Data: {"method":"getinfo","params":[],"id":1515927947042} Reponse Data: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

404 Not Found

Not Found

The requested URL / was not found on this server.

Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80

It takes the Apache default page content source code so I have renamed the index.html file that's why it shows 404 page.

Please advice

ghost commented 6 years ago

pool config please

mharrisr commented 6 years ago

Here is the config.jason of unomp:

{ "logLevel": "debug", "logColors": true,

"cliPort": 17117,

"clustering": {
    "enabled": true,
    "forks": "auto"
},

"defaultPoolConfigs": {
    "blockRefreshInterval": 100,
    "jobRebroadcastTimeout": 55,
    "connectionTimeout": 600,
    "emitInvalidBlockHashes": false,
    "validateWorkerUsername": false,
    "tcpProxyProtocol": false,
    "banning": {
        "enabled": true,
        "time": 600,
        "invalidPercent": 50,
        "checkThreshold": 500,
        "purgeInterval": 300
    },
    "redis": {
        "host": "127.0.0.1",
        "port": 6379,
        "db": 0,
        "password": "xxxxxxxxxxxxxxxxxxxxxxx"
    }
},

"website": {
    "enabled": true,
    "host": "xxx.xxx.xxx.xxx",
    "siteTitle": "Fortestonly",
    "port":"8080",
    "stratumHost": "testpool.com",
    "stats": {
        "updateInterval": 60,
        "historicalRetention": 43200,
        "hashrateWindow": 300,
        "graphColors": ["#058DC7", "#50B432", "#ED561B", "#DDDF00", "#24CBE5", "#64E572",
        "#FF9655", "#FFF263", "#6AF9C4"]
    },
    "adminCenter": {
        "enabled": true,
        "password": "adminpass"
    }
},

"redis": {
    "host": "127.0.0.1",
    "port": 6379,
    "db": 0,
    "password": "xxxxxxxxxxxxxxxxx"
},

"switching": {
        "switch3": {
        "enabled": false,
        "algorithm": "x11",
        "ports": {
            "5555": {
                "diff": 0.001,
                "varDiff": {
                    "minDiff": 0.001,
                    "maxDiff": 1, 
                    "targetTime": 15, 
                    "retargetTime": 60, 
                    "variancePercent": 30 
                }
            }
        }
    }
},

"profitSwitch": {
    "enabled": false,
    "updateInterval": 600,
    "depth": 0.90,
    "usePoloniex": true,
    "useBittrex": true
}

}

mharrisr commented 6 years ago

Now the getinfo command works with latest blocks but only the above issue and the payments is also not running now: Payments coin Error with payment processing daemon {"type":"offline","message":"connect ECONNREFUSED"}

Here is the xxxcoin.jason file: { "enabled": true, "coin": "coin.json",

"auxes": [ ],         

"address": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

"rewardRecipients": {
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": 1.5,
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": 0.1
},

"paymentProcessing": {
    "enabled": true,
    "paymentInterval": 30,
    "minimumPayment": 0.01,
    "daemon": {
        "host": "127.0.0.1",
        "port": 19331,
        "user": "xxxxxxxxxxxx",
        "password": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
    }
},

"ports": {
    "3008": {
        "diff": 8
    },
    "3032": {
        "diff": 32,
        "varDiff": {
            "minDiff": 8,
            "maxDiff": 512,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
    },
        "3256": {
        "diff": 256
    }

},

"daemons": [
     {   //Main daemon instance
        "host": "127.0.0.1",
        "port": 39347,
        "user": "xxxxxxxxxxxxxxxx",
        "password": "xxxxxxxxxxxxxxxxxxxxxxxx"
    },
    ],

"p2p": {
    "enabled": true,
    "host": "127.0.0.1",
    "port": 39348,
    "disableTransactions": false
},

"mposMode": {
    "enabled": false,
    "host": "127.0.0.1",
    "port": 39349,
    "user": "xxxxxxx",
    "password": "xxxxxxxxxxxxxxxxxxxx",
    "database": "cann",
    "checkPassword": false,
    "autoCreateWorker": false
}

}

When I check the port numbers using netstat -anp | grep PORT only 39348 is listening,no other ports are listening/establishing

ghost commented 6 years ago

why jason? json is right.

ghost commented 6 years ago

Payment port and daemon port is different.