Closed Jerry170617 closed 5 years ago
Check your installation to ensure it has the bitcoinjs-lib from this org installed.
sudo npm install bitcoinjs-lib-zcash?
no, you can compare node_modules/bitcoinjs-lib-zcash/src/transaction.js
with the link I posted above. They should be identical.
Error: Cannot find module 'bitcoinjs-lib-zcash'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.
Are you using the base s-nomp code or is this a custom version of z-nomp?
base s-nomp code
It sounds like you need to re-run npm install
. That package is requested via dependencies: https://github.com/s-nomp/s-nomp/blob/master/package-lock.json#L198
https://github.com/s-nomp/bitcoinjs-lib/blob/zcash/src/transaction.js not found setOverwinter
2018-09-07 14:09:17 [Pool] [zcash_testnet] (Thread 1) Submitted Block using submitblock successfully to daemon instance(s) 2018-09-07 14:09:17 [Pool] [zcash_testnet] (Thread 1) We thought a block was found but it was rejected by the daemon, share data: {"job":"cccd","ip":"::ffff:113.224.184.59","port":3036,"worker":"tmBwYF8DTzKzKoqmiUjTAgkKJiejATZZzo1.3667","height":286860,"difficulty":0.05,"shareDiff":"0.39151923","blockDiff":0.229991933,"blockDiffActual":0.229991933,"blockHash":"00146ee7bba6d803ac8a4acdf71e77590cead3b31c3f51373e36eb7bacbdfc6d","error":{"unknown":"check coin daemon logs"}
Closing this issue since there isn't a problem with the code. Please hop on Discord to request assistance with your setup. https://discord.gg/4mVaTsH