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

Peercoin not working with NOMP #67

Open
miningpoolhub opened this issue Apr 24, 2014 · 19 comments
Open

Peercoin not working with NOMP #67

miningpoolhub opened this issue Apr 24, 2014 · 19 comments

Comments

@miningpoolhub
Copy link

I get this message for peercoin.

(Thread 1) Could not start pool, error with init batch RPC call: {"code":-32700,"message":"Parse error"}

I think peercoin doesn't provide batch rpc call. Some other fallback function would be needed.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@brenmoss
Copy link

+1

I too have noticed this with PPC.

There could also be another issue by which the stratum code is trying to send a submitblock call with no hex data and I expect this will fail... from what I can see PPC requires the hex data for this method whereas BTC does not so there would be no issue for BTC.

@xbiss
Copy link

xbiss commented May 1, 2014

Hello,

I found the solution : https://github.com/doomhz/node-peercoin
But I don't know how to load that fucking module into nomp !!!!
If someone get it, please to advice.

thx,
++

@brenmoss
Copy link

brenmoss commented May 1, 2014

Interesting find, are you sure its a Shim for the ppcoind to accept Batch RPC ?

This looks like you need to create a node.js file and run that node.js file as a Shim to the peercoind.

Looks like it might be a solution but I might check the code a little more to be sure its not malicious...

So if I understand how this works, its a node application that acts as a RPC for NOMP to communicate with and this node-peercoin will then communicate with the ppcoind via methods it handles... thats my best understanding.

@brenmoss
Copy link

brenmoss commented May 1, 2014

Hmmm still not sure if this is whats needed.

The issue is that ppcoind should be able to accept RPC but not by batch... however I could be wrong about this and ppcoind may not support RPC... but I swear I saw mention of RPC in its code... it needs to support single RPC for CLI and API

I think this was either a Shim for some other thing needing to communicate but was not able to do so via RPC in general... if you find otherwise then please let me know as I desperately need a Shim for this issue... I want to be mining PPC not BTC

@zone117x
Copy link
Owner

zone117x commented May 1, 2014

I can investigate this issue to confirm the cause is peercoin not accepting batch RPC requests - then write code to detect when a coin is missing batch rpc and implement a batch rpc shim into daemon.js.

Currently I'm working on more pressing features so I wont work on this feature for quite sometime. I setup a bounty so if people are that interested in getting it implemented then they can contribute and if the goal is reached I will implement it.

https://www.bountysource.com/issues/1811831-peercoin-not-working-with-nomp

@educatedwarrior
Copy link

How soon can you implement if the goal is reached?

@gperez2000
Copy link

try the develop branch ppcoin/ppcoin, nomp peercoin pool is working now. I'am testing it as I write

70.05966215 by gperez2000.141 [192.168.36.100]
2014-07-20 17:40:19 [MySQL] [peercoin] Share inserted
2014-07-20 17:40:20 [Pool] [peercoin](Thread 1) Share accepted at diff 64/1873.75744515 by gperez2000.141 [192.168.36.100]
2014-07-20 17:40:20 [MySQL] [peercoin] Share inserted
2014-07-20 17:40:25 [Pool] [peercoin](Thread 1) Share accepted at diff 64/93.02342540 by gperez2000.141 [192.168.36.100]
2014-07-20 17:40:25 [MySQL] [peercoin] Share inserted
2014-07-20 17:40:29 [Pool] [peercoin](Thread 1) Share accepted at diff 64/7559224.26441939 by gperez2000.141 [192.168.36.100]
2014-07-20 17:40:29 [MySQL] [peercoin] Share inserted
2014-07-20 17:40:29 [Pool] [peercoin](Thread 1) Share accepted at diff 64/397.17928495 by gperez2000.141 [192.168.36.100]
2014-07-20 17:40:29 [MySQL] [peercoin] Share inserted
2014-07-20 17:40:29 [Payments] [peercoin] Finished interval - time spent: 2ms total, 0ms redis, 1ms daemon RPC

@zimbo123
Copy link

How can i install the update? I copied the files in the NOMP-Folder and put the code from the update and orginal package.json in one new file.
But i got same error.

@mahuaroy
Copy link

Could not start pool, error with init batch RPC call: {"code":-32700,"message":"Parse error"}

Howcan I solve this error, Please help me.

@igorwhite
Copy link

Hello!
Somebody decided to get it wrong?
[peercoin](Thread 3) Could not start pool, error with init batch RPC call: {"code":-32700,"message":"Parse error"}

@chriskonieczny
Copy link

Anyone find a solution for this yet?

@igorwhite
Copy link

gperez2000
Please tell us how you got nomp+peercoin

@igorwhite
Copy link

Now I get an error
Pool peercoin Thread 3 Could not start pool, error with init batch RPC call: {"type":"request error","message":"connect ETIMEDOUT"}

@mahuaroy
Copy link

mahuaroy commented Nov 2, 2015

Some problem with nomp with peercoin. I started my pool with stratum-mining (Python based) MPOS.

@igorwhite
Copy link

mahuaroy
Got it, I'll use it MPOS. Can you tell settings global.inc.php for peercoin
Thanks

@mahuaroy
Copy link

mahuaroy commented Nov 2, 2015

Go thru https://github.com/MPOS/php-mpos/wiki/Config-Setup#coin-diff-change

IT so is easy.

On 11/2/15, igorwhite notifications@github.com wrote:

mahuaroy
Got it, I'll use it MPOS. Can you tell settings global.inc.php for peercoin
Thanks


Reply to this email directly or view it on GitHub:
#67 (comment)

@fflo
Copy link

fflo commented Aug 8, 2016

confirmed: nomp and unomp do not support peercoin and 611 coin :(

mpos [https://github.com/MPOS/php-mpos] works fine with python stratum-mining [https://github.com/Crypto-Expert/stratum-mining].

Would be great to get this bug fixed with (u)nomp, too.

@AndreyNag
Copy link

AndreyNag commented Feb 3, 2017

I confirm that stratum in Python works. However, works not steadily, sorcery often hang out and farm efficiency is significantly reduced. In addition, the equipment must be under constant surveillance. So I don't leave attempts to find a solution to the problem with unomp.
Any help would be appreciated and constructive advice.
First of all we should find the way to debug the process of interaction between pool and wallet.

norens pushed a commit to norens/node-stratum-pool that referenced this issue Apr 1, 2019
Feature: Added automagical coin switching based on profitability
@jdawg24
Copy link

jdawg24 commented May 2, 2022

using RPC port 9902 getting:

The address provided is not from the daemon wallet - this is required for POS coins.

not sure what is causing this - address directly from daemon maybe legacy / bech 32 wallet signatures

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