Closed Gadflyii closed 6 years ago
Do they have their difficulty adjusted ever 45 seconds ?
On 22 Dec 2017, at 4:24, Gadflyii notifications@github.com wrote:
Followed the guide, the daemon is up and working, pool is up and running, miners connect, but they never find a share, and nomp just reports "No new blocks for 55 seconds" over and over again.
No ideas what else to check or look for.. been over every config at least 10 times.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/poolgold/z-nomp-bitcoin-gold/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/ADrjrZOLnCEftf47zBBLpnU2R1sWIlYCks5tCxLfgaJpZM4RKk0_.
Yes, the vardiff settings are set to the defaults from the example, but target time was reduced to 10.
Diff 0.02 Vardiff Min diff 0.02 Max diff 16 Target time 15 Retartget 45 Variancepercent 30
Well... It is set, but after watching a miner, it never reports the difficulty at all, and does not retarget.
Nomp output:
z-nomp@0.0.4 start /home/adminron/z-nomp-bitcoin-gold LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js
2017-12-22 06:01:41 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised 2017-12-22 06:01:41 [Master] [CLI] CLI listening on port 17117 2017-12-22 06:01:41 [PPLNT] [bitcoin gold] TimeShare processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:42 [Master] [PoolSpawner] Spawned 1 pool(s) on 4 thread(s) 2017-12-22 06:01:43 [Website] [Server] Website started on 10.0.1.5:8080 2017-12-22 06:01:43 [Payments] [bitcoin gold] minimum paymentInterval of 120 seconds recommended. 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold requireShielding: false 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold minConf: 10 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold payments txfee reserve: 0.000005 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold maxBlocksPerPayment: 3 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold PPLNT: false, time period: 0.51 2017-12-22 06:01:43 [Payments] [bitcoin gold] Payment processing setup with daemon (BTGPool@127.0.0.1:8332) and redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Switching] [Setup] (Thread 1) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} Network Connected: Mainnet Detected Reward Type: POW Current Block Height: 505620 Current Block Diff: 4053441.182272512 Current Connect Peers: 8 Network Hash Rate: 59.91 MH Stratum Port(s): 3857 Block polling every: 500 ms 2017-12-22 06:01:44 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:44 [Switching] [Setup] (Thread 2) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 2) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 2) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} 2017-12-22 06:01:44 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:01:44 [Switching] [Setup] (Thread 3) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 3) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Switching] [Setup] (Thread 4) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 4) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 3) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} 2017-12-22 06:01:44 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:45 [Pool] [bitcoin gold] (Thread 4) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} 2017-12-22 06:01:45 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:45 [Pool] [bitcoin gold] (Thread 2) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:01:47 [Pool] [bitcoin gold] (Thread 1) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:02:39 [Pool] [bitcoin gold] (Thread 1) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:39 [Pool] [bitcoin gold] (Thread 2) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:39 [Pool] [bitcoin gold] (Thread 3) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:40 [Pool] [bitcoin gold] (Thread 4) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:41 [Payments] [bitcoin gold] Finished interval - time spent: 19ms total, 9ms redis, 6ms daemon RPC
Then it just repeats
bgoldd output:
2017-12-22 06:00:40 Bitcoin version v0.15.0.1-db7b378 2017-12-22 06:00:40 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1 2017-12-22 06:00:40 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures. 2017-12-22 06:00:40 Using the 'standard' SHA256 implementation 2017-12-22 06:00:40 Default data directory /home/adminron/.bitcoingold 2017-12-22 06:00:40 Using data directory /home/adminron/.bitcoingold 2017-12-22 06:00:40 Using config file /home/adminron/.bitcoingold/bitcoin.conf 2017-12-22 06:00:40 Using at most 125 automatic connections (1024 file descriptors available) 2017-12-22 06:00:40 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2017-12-22 06:00:40 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2017-12-22 06:00:40 Using 4 threads for script verification 2017-12-22 06:00:40 scheduler thread start 2017-12-22 06:00:40 HTTP: creating work queue of depth 16 2017-12-22 06:00:40 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation. 2017-12-22 06:00:40 HTTP: starting 4 worker threads 2017-12-22 06:00:40 init message: Verifying wallet(s)... 2017-12-22 06:00:40 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2017-12-22 06:00:40 Using wallet wallet.dat 2017-12-22 06:00:40 CDBEnv::Open: LogDir=/home/adminron/.bitcoingold/database ErrorFile=/home/adminron/.bitcoingold/db.log 2017-12-22 06:00:40 Cache configuration: 2017-12-22 06:00:40 Using 2.0MiB for block index database 2017-12-22 06:00:40 Using 8.0MiB for chain state database 2017-12-22 06:00:40 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2017-12-22 06:00:40 init message: Loading block index... 2017-12-22 06:00:40 Opening LevelDB in /home/btgpool/.bitcoingold/blocks/index 2017-12-22 06:00:40 Opened LevelDB successfully 2017-12-22 06:00:40 Using obfuscation key for /home/btgpool//.bitcoingold/blocks/index: 0000000000000000 2017-12-22 06:00:54 LoadBlockIndexDB: last block file = 1042 2017-12-22 06:00:54 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=982, size=45036936, heights=504637...505619, time=2017-12-15...2017-12-22) 2017-12-22 06:00:54 Checking all blk files are present... 2017-12-22 06:00:55 LoadBlockIndexDB: transaction index disabled 2017-12-22 06:00:55 Opening LevelDB in /home/adminron/.bitcoingold/chainstate 2017-12-22 06:00:55 Opened LevelDB successfully 2017-12-22 06:00:55 Using obfuscation key for /home/adminron/.bitcoingold/chainstate: b9c5583beb02032e 2017-12-22 06:00:55 Loaded best chain: hashBestChain=0000000004856ee1d3dbebc553782fbd40f911e32f5d05f1c8e103bbd988e3b7 height=505619 date=2017-12-22 05:54:06 progress=0.999995 2017-12-22 06:00:55 init message: Rewinding blocks... 2017-12-22 06:01:01 init message: Verifying blocks... 2017-12-22 06:01:01 Verifying last 6 blocks at level 3 2017-12-22 06:01:01 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE]. 2017-12-22 06:01:02 No coin database inconsistencies in last 7 blocks (224 transactions) 2017-12-22 06:01:02 block index 21326ms 2017-12-22 06:01:02 init message: Loading wallet... 2017-12-22 06:01:02 nFileVersion = 150001 2017-12-22 06:01:02 Keys: 2006 plaintext, 0 encrypted, 2006 w/ metadata, 2006 total 2017-12-22 06:01:02 wallet 348ms 2017-12-22 06:01:02 setKeyPool.size() = 2000 2017-12-22 06:01:02 mapWallet.size() = 0 2017-12-22 06:01:02 mapAddressBook.size() = 5 2017-12-22 06:01:02 mapBlockIndex.size() = 505620 2017-12-22 06:01:02 nBestHeight = 505619 2017-12-22 06:01:02 Bound to [::]:8338 2017-12-22 06:01:02 Bound to 0.0.0.0:8338 2017-12-22 06:01:02 init message: Loading P2P addresses... 2017-12-22 06:01:02 Leaving InitialBlockDownload (latching to false) 2017-12-22 06:01:02 torcontrol thread start 2017-12-22 06:01:02 Imported mempool transactions from disk: 10 successes, 0 failed, 0 expired 2017-12-22 06:01:02 Loaded 61789 addresses from peers.dat 603ms 2017-12-22 06:01:02 init message: Loading banlist... 2017-12-22 06:01:02 init message: Starting network threads... 2017-12-22 06:01:02 net thread start 2017-12-22 06:01:02 init message: Done loading 2017-12-22 06:01:02 msghand thread start 2017-12-22 06:01:02 dnsseed thread start 2017-12-22 06:01:02 addcon thread start 2017-12-22 06:01:02 opencon thread start 2017-12-22 06:01:04 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:57320, peer=1 2017-12-22 06:01:04 peer 1 uses Gold magic in its headers 2017-12-22 06:01:10 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:34172, peer=2 2017-12-22 06:01:10 peer 2 uses Gold magic in its headers 2017-12-22 06:01:11 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:42118, peer=3 2017-12-22 06:01:11 peer 3 uses Gold magic in its headers 2017-12-22 06:01:11 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:59968, peer=4 2017-12-22 06:01:11 peer 4 uses Gold magic in its headers 2017-12-22 06:01:13 P2P peers available. Skipped DNS seeding. 2017-12-22 06:01:13 dnsseed thread exit 2017-12-22 06:01:17 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:39968, peer=5 2017-12-22 06:01:17 peer 5 uses Gold magic in its headers 2017-12-22 06:01:18 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:44528, peer=6 2017-12-22 06:01:18 peer 6 uses Gold magic in its headers 2017-12-22 06:01:19 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:40006, peer=7 2017-12-22 06:01:19 peer 7 uses Gold magic in its headers 2017-12-22 06:01:19 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:60376, peer=8 2017-12-22 06:01:19 peer 8 uses Gold magic in its headers 2017-12-22 06:01:44 CreateNewBlock(): total size: 6885 block weight: 26537 txs: 13 fees: 81235 sigops 482
Config.json:
{ "logLevel": "debug", "logColors": true,
"logging": {
"auth": true,
"files": {
"level": "info",
"directory": "logs",
"flushInterval": 5
}
},
"cliPort": 17117,
"clustering": {
"enabled": true,
"forks": "auto"
},
"defaultPoolConfigs": {
"blockRefreshInterval": 500,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"validateWorkerUsername": true,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"password": "xxxx"
}
},
"website": {
"enabled": true,
"host": "10.0.1.5",
"port": 8080,
"stratumHost": "btg.cloudpools.net",
"stats": {
"updateInterval": 30,
"historicalRetention": 14400,
"hashrateWindow": 300
},
"adminCenter": {
"enabled": false,
"password": "password"
},
"tlsOptions" : {
"enabled": false,
"cert": "",
"key": ""
}
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"blockNotifyListener": {
"enabled": true,
"port": 8117,
"password": "xxxx"
},
"switching": {
"switch1": {
"enabled": false,
"algorithm": "sha256",
"ports": {
"3333": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"switch2": {
"enabled": false,
"algorithm": "scrypt",
"ports": {
"4444": {
"diff": 10,
"varDiff": {
"minDiff": 16,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
}
}
},
"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,
"useCryptsy": true,
"useMintpal": true,
"useBittrex": true
}
}
btg.json:
{ "enabled": true, "coin": "btg.json",
"address": "GTBtSjcL29TBwZmnmpFhWvfUCfXjB5Yxxt",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"zAddress": "GKXXBzTVyE3AfW5szMc917PBJbRQZ9gFyc",
"_comment_zAddress": "Not used",
"tAddress": "GQWPFuMVR4EaUqgKw6QArYBPF185fJ2yDg",
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"walletInterval": 5,
"rewardRecipients": {
"GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt": 2.5
},
"tlsOptions": {
"enabled": false,
"serverKey":"",
"serverCert":"",
"ca":""
},
"paymentProcessing": {
"minConf": 10,
"enabled": true,
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 57,
"_comment_paymentInterval": "Interval in seconds to check and perform payments.",
"minimumPayment": 0.01,
"maxBlocksPerPayment": 3,
"daemon": {
"host": "127.0.0.1",
"port": 8332,
"user": "xxxx",
"password": "xxxx"
}
},
"ports": {
"3857": {
"tls":false,
"diff": 0.02
}
},
"daemons": [
{
"host": "127.0.0.1",
"port": 8332,
"user": "xxxx",
"password": "xxxx"
}
],
"p2p": {
"enabled": false,
"host": "127.0.0.1",
"port": 19333,
"disableTransactions": true
},
"mposMode": {
"enabled": false,
"host": "127.0.0.1",
"port": 3306,
"user": "me",
"password": "mypass",
"database": "kmd",
"checkPassword": true,
"autoCreateWorker": false
}
}
Which miner are you using. It is highly possible that the miner don’t connect properly.
On 22 Dec 2017, at 8:11, Gadflyii notifications@github.com wrote:
Nomp output:
z-nomp@0.0.4 start /home/adminron/z-nomp-bitcoin-gold LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js
2017-12-22 06:01:41 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised 2017-12-22 06:01:41 [Master] [CLI] CLI listening on port 17117 2017-12-22 06:01:41 [PPLNT] [bitcoin gold] TimeShare processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:42 [Master] [PoolSpawner] Spawned 1 pool(s) on 4 thread(s) 2017-12-22 06:01:43 [Website] [Server] Website started on 10.0.1.5:8080 2017-12-22 06:01:43 [Payments] [bitcoin gold] minimum paymentInterval of 120 seconds recommended. 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold requireShielding: false 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold minConf: 10 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold payments txfee reserve: 0.000005 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold maxBlocksPerPayment: 3 2017-12-22 06:01:43 [Payments] [bitcoin gold] bitcoin gold PPLNT: false, time period: 0.51 2017-12-22 06:01:43 [Payments] [bitcoin gold] Payment processing setup with daemon (BTGPool@127.0.0.1:8332) and redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Switching] [Setup] (Thread 1) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} Network Connected: Mainnet Detected Reward Type: POW Current Block Height: 505620 Current Block Diff: 4053441.182272512 Current Connect Peers: 8 Network Hash Rate: 59.91 MH Stratum Port(s): 3857 Block polling every: 500 ms 2017-12-22 06:01:44 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:44 [Switching] [Setup] (Thread 2) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 2) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 2) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} 2017-12-22 06:01:44 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 1) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:01:44 [Switching] [Setup] (Thread 3) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 3) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Switching] [Setup] (Thread 4) Loading last proxy state from redis 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 4) Share processing setup with redis (127.0.0.1:6379) 2017-12-22 06:01:44 [Pool] [bitcoin gold] (Thread 3) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} 2017-12-22 06:01:44 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:45 [Pool] [bitcoin gold] (Thread 4) Stratum Pool Server Started for bitcoin gold [BTG] {equihash} 2017-12-22 06:01:45 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start 2017-12-22 06:01:45 [Pool] [bitcoin gold] (Thread 2) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:01:47 [Pool] [bitcoin gold] (Thread 1) Authorized GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt: [::ffff:71.244.60.83] 2017-12-22 06:02:39 [Pool] [bitcoin gold] (Thread 1) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:39 [Pool] [bitcoin gold] (Thread 2) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:39 [Pool] [bitcoin gold] (Thread 3) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:40 [Pool] [bitcoin gold] (Thread 4) No new blocks for 55 seconds - updating transactions & rebroadcasting work 2017-12-22 06:02:41 [Payments] [bitcoin gold] Finished interval - time spent: 19ms total, 9ms redis, 6ms daemon RPC
Then it just repeats
bgoldd output:
2017-12-22 06:00:40 Bitcoin version v0.15.0.1-db7b378 2017-12-22 06:00:40 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1 2017-12-22 06:00:40 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures. 2017-12-22 06:00:40 Using the 'standard' SHA256 implementation 2017-12-22 06:00:40 Default data directory /home/adminron/.bitcoingold 2017-12-22 06:00:40 Using data directory /home/adminron/.bitcoingold 2017-12-22 06:00:40 Using config file /home/adminron/.bitcoingold/bitcoin.conf 2017-12-22 06:00:40 Using at most 125 automatic connections (1024 file descriptors available) 2017-12-22 06:00:40 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2017-12-22 06:00:40 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2017-12-22 06:00:40 Using 4 threads for script verification 2017-12-22 06:00:40 scheduler thread start 2017-12-22 06:00:40 HTTP: creating work queue of depth 16 2017-12-22 06:00:40 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation. 2017-12-22 06:00:40 HTTP: starting 4 worker threads 2017-12-22 06:00:40 init message: Verifying wallet(s)... 2017-12-22 06:00:40 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2017-12-22 06:00:40 Using wallet wallet.dat 2017-12-22 06:00:40 CDBEnv::Open: LogDir=/home/adminron/.bitcoingold/database ErrorFile=/home/adminron/.bitcoingold/db.log 2017-12-22 06:00:40 Cache configuration: 2017-12-22 06:00:40 Using 2.0MiB for block index database 2017-12-22 06:00:40 Using 8.0MiB for chain state database 2017-12-22 06:00:40 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2017-12-22 06:00:40 init message: Loading block index... 2017-12-22 06:00:40 Opening LevelDB in /home/btgpool/.bitcoingold/blocks/index 2017-12-22 06:00:40 Opened LevelDB successfully 2017-12-22 06:00:40 Using obfuscation key for /home/btgpool//.bitcoingold/blocks/index: 0000000000000000 2017-12-22 06:00:54 LoadBlockIndexDB: last block file = 1042 2017-12-22 06:00:54 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=982, size=45036936, heights=504637...505619, time=2017-12-15...2017-12-22) 2017-12-22 06:00:54 Checking all blk files are present... 2017-12-22 06:00:55 LoadBlockIndexDB: transaction index disabled 2017-12-22 06:00:55 Opening LevelDB in /home/adminron/.bitcoingold/chainstate 2017-12-22 06:00:55 Opened LevelDB successfully 2017-12-22 06:00:55 Using obfuscation key for /home/adminron/.bitcoingold/chainstate: b9c5583beb02032e 2017-12-22 06:00:55 Loaded best chain: hashBestChain=0000000004856ee1d3dbebc553782fbd40f911e32f5d05f1c8e103bbd988e3b7 height=505619 date=2017-12-22 05:54:06 progress=0.999995 2017-12-22 06:00:55 init message: Rewinding blocks... 2017-12-22 06:01:01 init message: Verifying blocks... 2017-12-22 06:01:01 Verifying last 6 blocks at level 3 2017-12-22 06:01:01 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE]. 2017-12-22 06:01:02 No coin database inconsistencies in last 7 blocks (224 transactions) 2017-12-22 06:01:02 block index 21326ms 2017-12-22 06:01:02 init message: Loading wallet... 2017-12-22 06:01:02 nFileVersion = 150001 2017-12-22 06:01:02 Keys: 2006 plaintext, 0 encrypted, 2006 w/ metadata, 2006 total 2017-12-22 06:01:02 wallet 348ms 2017-12-22 06:01:02 setKeyPool.size() = 2000 2017-12-22 06:01:02 mapWallet.size() = 0 2017-12-22 06:01:02 mapAddressBook.size() = 5 2017-12-22 06:01:02 mapBlockIndex.size() = 505620 2017-12-22 06:01:02 nBestHeight = 505619 2017-12-22 06:01:02 Bound to [::]:8338 2017-12-22 06:01:02 Bound to 0.0.0.0:8338 2017-12-22 06:01:02 init message: Loading P2P addresses... 2017-12-22 06:01:02 Leaving InitialBlockDownload (latching to false) 2017-12-22 06:01:02 torcontrol thread start 2017-12-22 06:01:02 Imported mempool transactions from disk: 10 successes, 0 failed, 0 expired 2017-12-22 06:01:02 Loaded 61789 addresses from peers.dat 603ms 2017-12-22 06:01:02 init message: Loading banlist... 2017-12-22 06:01:02 init message: Starting network threads... 2017-12-22 06:01:02 net thread start 2017-12-22 06:01:02 init message: Done loading 2017-12-22 06:01:02 msghand thread start 2017-12-22 06:01:02 dnsseed thread start 2017-12-22 06:01:02 addcon thread start 2017-12-22 06:01:02 opencon thread start 2017-12-22 06:01:04 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:57320, peer=1 2017-12-22 06:01:04 peer 1 uses Gold magic in its headers 2017-12-22 06:01:10 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:34172, peer=2 2017-12-22 06:01:10 peer 2 uses Gold magic in its headers 2017-12-22 06:01:11 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:42118, peer=3 2017-12-22 06:01:11 peer 3 uses Gold magic in its headers 2017-12-22 06:01:11 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:59968, peer=4 2017-12-22 06:01:11 peer 4 uses Gold magic in its headers 2017-12-22 06:01:13 P2P peers available. Skipped DNS seeding. 2017-12-22 06:01:13 dnsseed thread exit 2017-12-22 06:01:17 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:39968, peer=5 2017-12-22 06:01:17 peer 5 uses Gold magic in its headers 2017-12-22 06:01:18 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:44528, peer=6 2017-12-22 06:01:18 peer 6 uses Gold magic in its headers 2017-12-22 06:01:19 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:40006, peer=7 2017-12-22 06:01:19 peer 7 uses Gold magic in its headers 2017-12-22 06:01:19 receive version message: /Bitcoin Gold:0.15.0.1/: version 70016, blocks=505619, us=13.65.249.146:60376, peer=8 2017-12-22 06:01:19 peer 8 uses Gold magic in its headers 2017-12-22 06:01:44 CreateNewBlock(): total size: 6885 block weight: 26537 txs: 13 fees: 81235 sigops 482
Config.json:
{ "logLevel": "debug", "logColors": true,
"logging": { "auth": true, "files": { "level": "info", "directory": "logs", "flushInterval": 5 } },
"cliPort": 17117,
"clustering": { "enabled": true, "forks": "auto" },
"defaultPoolConfigs": { "blockRefreshInterval": 500, "jobRebroadcastTimeout": 55, "connectionTimeout": 600, "emitInvalidBlockHashes": false, "validateWorkerUsername": true, "tcpProxyProtocol": false, "banning": { "enabled": true, "time": 600, "invalidPercent": 50, "checkThreshold": 500, "purgeInterval": 300 }, "redis": { "host": "127.0.0.1", "port": 6379, "password": "xxxx" } },
"website": { "enabled": true, "host": "10.0.1.5", "port": 8080, "stratumHost": "btg.cloudpools.net", "stats": { "updateInterval": 30, "historicalRetention": 14400, "hashrateWindow": 300 }, "adminCenter": { "enabled": false, "password": "password" }, "tlsOptions" : { "enabled": false, "cert": "", "key": "" } },
"redis": { "host": "127.0.0.1", "port": 6379 },
"blockNotifyListener": {
"enabled": true, "port": 8117, "password": "xxxx" },
"switching": { "switch1": { "enabled": false, "algorithm": "sha256", "ports": { "3333": { "diff": 10, "varDiff": { "minDiff": 16, "maxDiff": 512, "targetTime": 15, "retargetTime": 90, "variancePercent": 30 } } } }, "switch2": { "enabled": false, "algorithm": "scrypt", "ports": { "4444": { "diff": 10, "varDiff": { "minDiff": 16, "maxDiff": 512, "targetTime": 15, "retargetTime": 90, "variancePercent": 30 } } } }, "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, "useCryptsy": true, "useMintpal": true, "useBittrex": true } }
btg.json:
{ "enabled": true, "coin": "btg.json",
"address": "GTBtSjcL29TBwZmnmpFhWvfUCfXjB5Yxxt", "_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",
"zAddress": "GKXXBzTVyE3AfW5szMc917PBJbRQZ9gFyc", "_comment_zAddress": "Not used",
"tAddress": "GQWPFuMVR4EaUqgKw6QArYBPF185fJ2yDg", "_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
"walletInterval": 5,
"rewardRecipients": { "GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt": 2.5 },
"tlsOptions": { "enabled": false, "serverKey":"", "serverCert":"", "ca":"" },
"paymentProcessing": { "minConf": 10, "enabled": true, "paymentMode": "prop", "_comment_paymentMode":"prop, pplnt", "paymentInterval": 57, "_comment_paymentInterval": "Interval in seconds to check and perform payments.", "minimumPayment": 0.01, "maxBlocksPerPayment": 3, "daemon": { "host": "127.0.0.1", "port": 8332, "user": "xxxx", "password": "xxxx" } },
"ports": { "3857": { "tls":false, "diff": 0.02 }
},"daemons": [ { "host": "127.0.0.1", "port": 8332, "user": "xxxx", "password": "xxxx" } ],
"p2p": { "enabled": false, "host": "127.0.0.1", "port": 19333, "disableTransactions": true },
"mposMode": { "enabled": false, "host": "127.0.0.1", "port": 3306, "user": "me", "password": "mypass", "database": "kmd", "checkPassword": true, "autoCreateWorker": false } }
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/poolgold/z-nomp-bitcoin-gold/issues/19#issuecomment-353529773, or mute the thread https://github.com/notifications/unsubscribe-auth/ADrjrUryQsX2ycZ8HqQBRIlwWgp6RYQaks5tC0gKgaJpZM4RKk0_.
EBWF 3.4b,
It says that it connects and runs but never submits a share. I tried setting the pool to a static difficulty, but the nomp never says that it is setting the difficulty (not static or vardiff).
the "Target" is also just always all zeros. I am starting to wonder if maybe the daemon is not pulling blocks or something?
Here is a miner output:
INFO: Target: 0000000000000000... INFO: Detected new work: ceab CUDA: Device: 0 GeForce GTX 1080 Ti, 11264 MB i:64 CUDA: Device: 1 GeForce GTX 1080 Ti, 11264 MB i:64 CUDA: Device: 0 Selected solver: 0 CUDA: Device: 1 Selected solver: 2 INFO: Detected new work: ceac Temp: GPU0: 31C GPU1: 31C GPU0: 718 Sol/s GPU1: 717 Sol/s Total speed: 1435 Sol/s Temp: GPU0: 32C GPU1: 32C GPU0: 704 Sol/s GPU1: 717 Sol/s Total speed: 1421 Sol/s
Then it just repeats
INFO: Detected new work: cead Temp: GPU0: 33C GPU1: 33C GPU0: 707 Sol/s GPU1: 720 Sol/s Total speed: 1427 Sol/s
I will try a different miner, but this miner has no trouble connecting to other pools.
Also, another oddity, if I use -rpcuser= -rpcpassword= in the bitcoin.conf per the guide I get "rpc bad username or password" (with both nomp and cli), I have to put -rpcuser and -rpcpassword as command line options when I launch bgoldd.
Is the guide just out of date? Should I be using -userpw in the bitcoin.conf with the hashed password from the PY script?
It also appears that my VPC can only connect to IP4 peers, any IP6 addressed peers results in "network not reachable", but when I checked getpeerinfo the daemon lists at least 8-10 IP4 based hosts.
Also pool is open on the above address if you want to try to connect a miner to it yourself.
Can you please show me your starting line in the mining software ? It is highly possible that your user is not authorised.
On 22 Dec 2017, at 18:11, Gadflyii notifications@github.com wrote:
Also pool is open on the above address if you want to try to connect a miner to it yourself.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/poolgold/z-nomp-bitcoin-gold/issues/19#issuecomment-353628254, or mute the thread https://github.com/notifications/unsubscribe-auth/ADrjrbVLotZL_siTrJ0wxuR4NuENaOaWks5tC9TNgaJpZM4RKk0_.
miner --server btg.cloudpools.net --user GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt.cw1 --port 3857
Also, I do see the miner connect in nomp, and report authorized.
Screen capture below,m you can see the miner start, and the nomp show the wallet id above and report "authorized"
I know where is the problem. Please go to package.json and then edit the node-stratum-pool by adding #poolgold. This will switch you to my branch. The problem is in the last commit (algoProperties change). I will revert it when I get home.
Sent from my iPhone 7 plus
On Dec 22, 2017, at 8:43 PM, Gadflyii notifications@github.com wrote:
miner --server btg.cloudpools.net --user GU7u6rKXV7X1K3pLdfSvN8DQaLeTnhDcGt.cw1 --port 3857
Also, I do see the miner connect in nomp, and report authorized.
Screen capture below,m you can see the miner start, and the nomp show the wallet id above and report "authorized"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Cool, just to be clear, in package.json,
you are talking about:
"dependencies": {
"async": "^2.6.0",
"bignum": "^0.12.5",
"body-parser": "^1.18.2",
"colors": "^1.1.2",
"compression": "^1.7.1",
"dateformat": "^2.2.0",
"dot": "^1.1.2",
"express": "^4.16.2",
"extend": "^3.0.1",
"mysql": "^2.15.0",
"node-json-minify": "^1.0.0",
"node-watch": "^0.5.5",
"nonce": "^1.0.4",
"redis": "^2.8.0",
"request": "^2.83.0",
"stratum-pool": "git+https://github.com/StarbuckBG/node-stratum-pool.git"
and changing line:
"stratum-pool": "git+https://github.com/StarbuckBG/node-stratum-pool.git"
to
"stratum-pool": "git+https://github.com/StarbuckBG/node-stratum-pool.git#poolgold"
Correct. I will be home soon so I will apply a fix.
Sent from my iPhone 7 plus
On Dec 22, 2017, at 10:00 PM, Gadflyii notifications@github.com wrote:
Cool, just to be clear, in package.json,
you are talking about:
"dependencies": { "async": "^2.6.0", "bignum": "^0.12.5", "body-parser": "^1.18.2", "colors": "^1.1.2", "compression": "^1.7.1", "dateformat": "^2.2.0", "dot": "^1.1.2", "express": "^4.16.2", "extend": "^3.0.1", "mysql": "^2.15.0", "node-json-minify": "^1.0.0", "node-watch": "^0.5.5", "nonce": "^1.0.4", "redis": "^2.8.0", "request": "^2.83.0", "stratum-pool": "git+https://github.com/StarbuckBG/node-stratum-pool.git" and changing line:
"stratum-pool": "git+https://github.com/StarbuckBG/node-stratum-pool.git"
to
"stratum-pool": "git+https://github.com/StarbuckBG/node-stratum-pool.git#poolgold"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
That worked BTW, thanks for all your help. I will toss 1 M/sols at the pool, see if it will find a block
You can point to pool.gold if you want at some point. We are preparing major update.
Followed the guide, the daemon is up and working, pool is up and running, miners connect, but they never find a share, and nomp just reports "No new blocks for 55 seconds" over and over again.
No ideas what else to check or look for.. been over every config at least 10 times.