Open ghost opened 7 years ago
This error can be fixed for now ... by going to your node_modules/multi-hashing/binding.gyp and uncommenting the scrypt-jane line (Line 7). then inside the multi-hashing folder try a npm update, node-gyp configure, node-gyp build
I can not add this to the fork until this issue gets fixed, https://github.com/krisklosterman/node-multi-hashing/issues/1 I am having issues with compiling on mac :(
@foxer666 ^
@krisklosterman
root@mining:~# cd /root/nompnew/node_modules/multi-hashing
root@mining:~/nompnew/node_modules/multi-hashing# npm update
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN multi-hashing@0.0.9 No license field.
+ bindings@1.3.0
+ nan@2.6.2
added 2 packages in 6.361s
root@mining:~/nompnew/node_modules/multi-hashing# node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.3.0 | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/root/.nvm/versions/node/v8.3.0/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/root/nompnew/node_modules/multi-hashing/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.nvm/versions/node/v8.3.0/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.node-gyp/8.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/8.3.0',
gyp info spawn args '-Dnode_gyp_dir=/root/.nvm/versions/node/v8.3.0/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/8.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/root/nompnew/node_modules/multi-hashing',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info ok
node-gyp build node init.js
All works! Waiting first block, 30 min and will be a result.
Thanks.
@krisklosterman 2 hours, no block. Network is alive and finding blocks. Waiting. With mac can not help You :(
You can always try a testnet also :)
@krisklosterman
"version" : "v5.4.0-cach-wm-alpha",
"protocolversion" : 90001,
"walletversion" : 60000,
"balance" : 0.00000000,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : 0,
"moneysupply" : 0.00000000,
"connections" : 0,
"proxy" : "",
"ip" : "0.0.0.0",
"difficulty" : 0.00024414,
"testnet" : true,
"keypoololdest" : 1503126033,
"keypoolsize" : 101,
"paytxfee" : 0.01000000,
"errors" : ""
2017-08-19 10:06:27 [Pool] [cachecoin] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"code":-9,"message":"CACHeCoin is not connected!"}
2017-08-19 10:06:27 [Pool] [cachecoin] (Thread 1) Error with getblocktemplate on creating first job, server cannot start
GetBlockTemplate() { error: { code: -9, message: 'CACHeCoin is not connected!' },
No testnet.
@krisklosterman No blocks on two coins with Scrypt-Jane. Any ideas?
I will try and get a test net up for some scrypt-jane coins to see if I can debug :)
@krisklosterman If You let me know how net up testnet - I do it :) My coin did not see connections in testnet.
@krisklosterman Installed other coin on Jane - Leocoin It has more peers and may be has online testnet. Testing, reply soon.
thanks, i've been pretty slammed over the last few days. If I end up getting any time to test, ill let you know.
@krisklosterman It's not works. We mined some hours on good hashrate but did not see any blocks. Any ideas? May be blocknotifier not works?
@krisklosterman Find a error: 2017-08-25 22:57:34 [Pool] [cachecoin] (Thread 3) Daemon instance 0 rejected a supposedly valid block In debug.log of coin:
ERROR: CTransaction::CheckTransaction() : txout.nValue below minimum
ERROR: CheckBlock() : CheckTransaction failed
ERROR: ProcessBlock() : CheckBlock FAILED
May be this is solution? https://github.com/dashpay/node-stratum-pool/commit/e598fb0b6b643191304b257e0d8b0f47f8a5d34a
@krisklosterman
2017-08-25 23:10:25 [Pool] [cachecoin] (Thread 1) Stratum Pool Server Started for cachecoin [CACH] {scrypt-jane}
Network Connected: Mainnet
Detected Reward Type: POS
Current Block Height: 191669
Current Connect Peers: 8
Current Block Diff: 96.20586496
Network Difficulty: 96.20619264
Network Hash Rate: 24.46 KH
Stratum Port(s): 31112
Pool Fee Percent: 0%
Block polling every: 1000 ms
May be a problem with it Detected Reward Type: POS It is Hybrid coin.
@krisklosterman 2017-08-25 23:34:53 [Pool] [cachecoin] (Thread 1) We thought a block was found but it was rejected by the daemon, share data: {"job":"5","ip":"::ffff:210.186.28.146","port":31112,"worker":"","height":191669,"blockReward":74160000,"difficulty":0.25531915,"shareDiff":"228.64605042","blockDiff":96.20586496,"blockDiffActual":0.001467985,"blockHash":"ebc5a0427c20a8105981a8cdbe38eb96ce676a6d3ea021819e34b306c8bd6dc2"}
@krisklosterman 2017-08-26 09:16:28 [Pool] [cachecoin] (Thread 1) rpc error with daemon instance 0 when submitting block with submitblock {"code":-100,"message":"Unable to sign block, wallet locked?"}
@krisklosterman Same problem https://bitcointalk.org/index.php?topic=981734.0