Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer.js Type error #44

Open
l-derosa opened this issue Apr 16, 2020 · 1 comment
Open

buffer.js Type error #44

l-derosa opened this issue Apr 16, 2020 · 1 comment

Comments

@l-derosa
Copy link

l-derosa commented Apr 16, 2020

Hi all,
the pools start but after a while shows a lot of errors, the miner receives jobs but reports an error (empty jobs?) any hint to solve this issue?
BTW: also reports a network difficulty of zero ...

2020-04-16 19:18:22 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2020-04-16 19:18:22 [Pool] [aion] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2020-04-16 19:18:22 [Switching] [Setup] (Thread 1) Switching "switch0" listening for equihash on port 3333 into aion
s 66
2020-04-16 19:18:22 [Pool] [aion] (Thread 1) No rewardRecipients have been setup which means no fees will be taken
2020-04-16 19:18:22 [Pool] [aion] (Thread 1) Network diff of 0 is lower than port 3008 w/ diff 4
2020-04-16 19:18:22 [Pool] [aion] (Thread 1) Stratum Pool Server Started for aion [NGR] {equihash}
Network Connected: Mainnet
Detected Reward Type: POW
Current Block Height: 5838226
Current Connect Peers: 7
Current Block Diff: 0.00291596
Network Difficulty: 0
Network Hash Rate: NaN KH
Stratum Port(s): 3008
Pool Fee Percent: 0%
Block polling every: 1000 ms
2020-04-16 19:18:22 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start
2020-04-16 19:18:58 [Pool] [aion] (Thread 1) Block notification via RPC polling
2020-04-16 19:19:19 [Pool] [aion] (Thread 1) Block notification via RPC polling

buffer.js:183
throw new TypeError(kFromErrorMsg);
^
TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.

at Function.Buffer.from (buffer.js:183:11)
at new Buffer (buffer.js:158:17)
at Object.exports.bignumFromBitsHex (/home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/util.js:371:20)
at new BlockTemplate (/home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/blockTemplate.js:60:14)
at JobManager.processTemplate (/home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/jobManager.js:191:32)
at /home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/pool.js:601:62
at itemFinished (/home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/daemon.js:162:36)
at /home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/daemon.js:175:17
at parseJson (/home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage.<anonymous> (/home/luh/builddir/aion-solo-pool-0.2.3-2019-01-04/node_modules/stratum-pool/lib/daemon.js:95:17)

2020-04-16 19:19:54 [Master] [PoolSpawner] Fork 0 died, spawning replacement worker...
function verify() { [native code] }

@AionMiner
Copy link

This version of the pool software (solo) is no longer compatible with the latest (mandatory) OAN kernel version. If you wish to run your own pool you will need to use the aion_pool2 implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants