xmr-node-proxy icon indicating copy to clipboard operation
xmr-node-proxy copied to clipboard

[Question/request] XMR Fork support

Open old-mikser opened this issue 6 years ago • 24 comments

Hello!

Will proxy support upcoming XMR (and other coins) cryptonight algoritm changes? Few miners added this support already. Can we wait for the same in xmr node proxy? Also what about nodejs pools?

old-mikser avatar Mar 16 '18 07:03 old-mikser

It's just a proxy, not miner. i think algorithm changes not affected proxy, so modifing is not required

MaksimKlepikov avatar Mar 16 '18 08:03 MaksimKlepikov

Nothing to worry, Snipa will patch it.

bobbieltd avatar Mar 16 '18 13:03 bobbieltd

If any patch is needed, i'm sure Snipa will provide an update soon. However, i wonder IF there is a need to update, or not. Proxy split workload to miners, but is not validating results. In my understanding, it means inputs are provided, but output is not check, and that last is where we expect the change in v7. So update needed for the inputs to be accurate or not?

el00ruobuob avatar Mar 19 '18 08:03 el00ruobuob

Yeah, you are right. Perhaps, the proxy doesn’t need any patch.

bobbieltd avatar Mar 19 '18 08:03 bobbieltd

This proxy needs patch. It validates results.

MoneroOcean avatar Mar 21 '18 09:03 MoneroOcean

@MoneroOcean Thanks for info.

bobbieltd avatar Mar 21 '18 12:03 bobbieltd

If you don't use AESNI (like me and my old server) I was able to patch XNP, multi-hashing and cryptonote-util to be XMR V7 compatible, you can take a look at my fork https://github.com/grunjol/xmr-node-proxy

I hope Snipa will be back soon and make the necessary changes in the pool code and his multi-hashing AESNI fork.

grunjol avatar Mar 23 '18 18:03 grunjol

@grunjol great job, so far! Didn't find where I can leave "issue request" in your fork, so just writing here - are you able to make XNP to work with non nodejs pools - regular cryptonote universal pools?

old-mikser avatar Mar 25 '18 15:03 old-mikser

AFAIK this proxy works with nodejs-pools.

grunjol avatar Mar 26 '18 01:03 grunjol

FYI, MoneroOcean fork is running Monero V7-ready on AESNI and non-AESNI machines tested with GCC 5, 6 and 7 (aka Ubuntu versions > 16.04).

grunjol avatar Mar 26 '18 16:03 grunjol

@MoneroOcean Thanks alot. People should install his repo for new xmr-node-proxy and packages.

bobbieltd avatar Mar 26 '18 23:03 bobbieltd

I guess if we don't hear from @Snipa22 in the next few days, we'll have no choice but to use the fork by @MoneroOcean

tinsami1 avatar Mar 27 '18 04:03 tinsami1

Look like Snipa did the work.

Ethorsen avatar Mar 27 '18 14:03 Ethorsen

@Ethorsen where do you see that?

netxecute avatar Mar 27 '18 16:03 netxecute

So, there will be any update or should we move to MoneroOcean fork?

mpenagar avatar Apr 03 '18 09:04 mpenagar

@grunjol Did you try it with non nodejs pool? Didn't work for me. Tried with a lot of pools. Also I saw issues where someone asked snipa to add compitability with cryptonote universal, but he asked for a tons of money. I don't think it worth it, as I saw it needs minor changes, I'm very sorry I'm bad at JS...

@mpenagar looks like we should

old-mikser avatar Apr 03 '18 14:04 old-mikser

@Snipa22 has recently commited an "Update with new Cryptonight-Hashing library + the required changes for XMR". A newcomer question: What should I do to update it?

cd xmr-node-proxy && git pull && npm update

or just

cd xmr-node-proxy && npm update

Then, it's enough to restart it?

pm2 restart my-proxy

Or should I run the stop and full start command?

pm2 stop myproxy pm2 start proxy.js --name=myproxy --log-date-format="YYYY-MM-DD HH:mm Z" pm2 save

Thanks!

mpenagar avatar Apr 05 '18 08:04 mpenagar

It is enough to do cd xmr-node-proxy && git pull && npm update and restart the proxy.

MoneroOcean avatar Apr 05 '18 08:04 MoneroOcean

I got an error with git pull :

remote: Counting objects: 16, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 16 (delta 11), reused 13 (delta 11), pack-reused 3
Unpacking objects: 100% (16/16), done.
From https://github.com/Snipa22/xmr-node-proxy
   d1092c6..238cf5e  master     -> origin/master
 * [new tag]         v0.0.1     -> v0.0.1
Updating d1092c6..238cf5e
error: Your local changes to the following files would be overwritten by merge:
        package.json
Please commit your changes or stash them before you merge.
Aborting

mpenagar avatar Apr 05 '18 08:04 mpenagar

You have some local changes in package.json. Either remove them (git checkout package.json) or try to stash/repply them by doing git stash; git pull; git stash apply instead of git pull.

MoneroOcean avatar Apr 05 '18 08:04 MoneroOcean

Thank! Yes, I did modify that file, I think due to a nonAES hardware problem.

Anyway, did you update it? I got a compilation error, I opened a new issue.

Thanks again!

mpenagar avatar Apr 05 '18 08:04 mpenagar

I see. Likely you need to do git checkout package.json; npm update now because if you used some old multi-hashing for nonaes support there is a good chance it does not support cn-v7. https://github.com/MoneroOcean/node-cryptonight-hashing XNP uses now should work for both aes and non aes situations.

MoneroOcean avatar Apr 05 '18 08:04 MoneroOcean