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
pool.js convert_blob issue #14
Comments
May be it's a problem of coin, i receive some result on Fantomcoin, but Bytecoin and QuazarCoin work fine ... ps: { looks fine ... |
Yes, I was hoping to use this pool for Fantomcoin, as it is listed as one of the supported coins (and it is based on CryptoNote). Do you think I should look somewhere in the implementation of fantomcoind or their simplewallet? |
get the same error with Monet Verde coin, but only after address validation is disabled. |
I'm closing this issue and removing stated support for Fantomcoin. This project has no future plans to actively support any coins that don't work by default because the clone coin devs make changes which break the pool software yet make no effort to patch the pool to work with their changes. For this pool to add support for modified cryptonote coins then the devs/communities behind those coins will have to fund a bounty to make it worth while for devs of this project. |
cn_fast_hash support
missing address listing in admin users list fix and more krb pools
Create Dockerfile for pool
I try to install this pool on Ubuntu 14 using nodejs 0.10.28 (0.11 had compile issues), but I get an error as soon as the first response is being created. I added some debug info as shown below. Could you maybe point me in the right direction? Thanks.
----- lib/pool.js -----
BlockTemplate.prototype = {
nextBlob: function(){
this.buffer.writeUInt32BE(++this.extraNonce, this.reserveOffset);
console.log("***** extraNonce: " + this.extraNonce + ", reserveOffset: " + this.reserveOffset + " ***");
console.log("*** buffer: " + new Buffer(this.buffer).toString('hex') + " *****");
return cnUtil.convert_blob(this.buffer).toString('hex');
}
};
----- output -----
+++++ method: login, params: {"agent":"simpleminer/0.1","login":"6j5B95.....QPafQ66Wgz3dy","pass":"x"}
***** extraNonce: 1, reserveOffset: 467 *****
***** buffer: 020089acb267e7169a7fd5e21a0e59b40ae5d04b11f910715c38ce1e158b8d0c3871010085c28e9c05000000000000000000000000000000000000000000000000000000000000000000000000010000000023032100000000000000000000000000000000000000000000000000000000000000000001b9ef0101fffdee0108c2e80e0241d700b48b9de92c6755d3ccd354aa80972ca79ea66dc3bd0a9907b71a992cffc08db7010284e72161547c13b0e69d124f30c47111b925a88eccdae90595341bb6fbf827ac80b4891302283f6c0c0d62ed9d9fdb1ea8531d6526a3a3000f2d06345fdcbc3b61d1c460fd80c2d72f021c7e5f36acefd962dafab738f9bb1cd4759511492eb8ccb32a1952e7946f695480f882ad1602c290ae8ed6c47f90ca11342186f299b4a8ee501a65d9987af4382172b62896a780b09dc2df01029b5a88d4e86508ffa0a15f62e016f363eaf358e9b2dd404358703cedabae0e1080f092cbdd08027065604839969283286e5399230525404c224423bb1ac08a1a4c46b58b239b6c8080d194b5740278b9da7222f9d90ca8c1aec2c75efb817fba6c814a67e64ad6f6371e9ef508f22b0180880c7f84eb02ee8bfbc6dec29e1c11d42dca12a658a0953d1e74a2599c19b602080000000001d286e50167701ef151cdfcf7db7a570c6b0807b72c750adba1f0d3f31d6ad4dd0ff06d42 *****
/var/www/html/lib/pool.js:124
return cnUtil.convert_blob(this.buffer).toString('hex');
^
Error: Failed to parse block
at Object.BlockTemplate.nextBlob (/var/www/html/lib/pool.js:124:23)
at Object.Miner.getJob (/var/www/html/lib/pool.js:264:41)
at handleMinerMethod (/var/www/html/lib/pool.js:486:28)
at IncomingMessage. (/var/www/html/lib/pool.js:736:17)
at IncomingMessage.EventEmitter.emit (events.js:92:17)
at _stream_readable.js:919:16
at process._tickCallback (node.js:419:13)
The text was updated successfully, but these errors were encountered: