-
Notifications
You must be signed in to change notification settings - Fork 35
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 question #36
Comments
i want to run a pool for vcash.but after i used the xCoreDev/node-open-mining-portal#upgrade it cant work.
any ideas? |
What version of Nodejs are you using? That error seems to be related to older versions based on my quick search. |
thx for your reply.i use the 0.10.44 version of node.js by "nvm use 0.10.44" |
Use the |
I use " node --harmony init.js" to start the pool.Here is the result:
|
|
Ok i will give a try.thx a lot.hope that will be helpful. |
If you have any progress pls let me know.best wishes. : ) |
eeeeeeeee~~~~which version of node are you useing?could you showme the command you install the node ?thx a lot.LOL |
So I quickly skimmed the setup (so I'm sure I'm missing something) and when I run |
I know that error.just to nano the nomp/pools_config/vcash.json-- "address": "Pool_XVC_Address" to his own wallet's address. |
Still not getting the error you're getting, just running into different errors lol If you're curious, I'm on node -v |
ok.i think the payment error canbe fix with the mpos. |
I looked at where it's failing, and it's just running |
so.with out modify this branch of nomp sill can not be used…………lol |
Well I assume it wouldn't fail trying to get the number of satoshis if I actually had coins in this wallet, but I don't really feel like trying that at the moment. |
thanks anyway. : ) |
I use node version 8.8.1 and meet the new question: after i use node init.js to start the pool
it seems the problem with the wallet's address&i try to use my raspberry pi 2 to run it.the result are same. |
That's the same issue the guy ran into before as well. It's from this code /*
For POS coins - used to format wallet address for use in generation transaction's output
*/
exports.pubkeyToScript = function(key){
if (key.length !== 66) {
console.error('Invalid pubkey: ' + key);
throw new Error();
}
var pubkey = Buffer.alloc(35);
pubkey[0] = 0x21;
pubkey[34] = 0xac;
Buffer.from(key, 'hex').copy(pubkey, 1);
return pubkey;
}; it fails on the There's probably a way to get the address to compress, but if not, a patch could be made to allow for the larger key I guess.. By the way, when posting logs/code, surround them in back-ticks, like this. Just helps with readability. |
thx for your help |
Interesting, but I probably wouldn't outright delete it. Might cause issues elsewhere. I haven't gotten to look into it yet, but my guess is it used the PoW validation that's right below that chunk of code you deleted, and that must've worked. |
Vcash uses uncompressed keys that are longer than 66, so until I find a way to compress manually this fixes the pool...
Vcash uses uncompressed keys that are longer than 66, so until I find a way to compress manually this fixes the pool...
Vcash uses uncompressed keys that are longer than 66, so until I find a way to compress manually this fixes the pool...
Anyone interested in running a pool should read both this issue and this wiki guide on runnning a pool. Closing. |
Because the rpc call 'getdifficulty' contains the word 'proof-of-stake', it defaults to PoS, which breaks NOMP. This forces PoW if the coin name is 'vcash'. Revert "Force POW" This reverts commit 2bb5a89. This workaround isn't needed since we "correctly" force PoW on Vcash. Revert "Workaround for openvcash/vcash#36 (comment)" This reverts commit f88686b.
Please fill in all relevant items:
Vcash version/branch+revision:
Operating system and version:
Expected behavior:
Actual behavior:
Steps to reproduce the behavior:
Relevant log file output:
The text was updated successfully, but these errors were encountered: