-
-
Notifications
You must be signed in to change notification settings - Fork 684
Problem with some bitcoin based clients RPC integration #119
Comments
Hmm. Could you post your daemon configuration and how you run it plus your pool config? |
The Peercoin.conf is as follows: rpcuser=RPCUSER And the pool config is:
Hope this helps. Would be good to be able to use these coins. |
Right, I have gotten to the bottom of what the problem seems to be with some of these altcoin bitcoind based clients. They don't support the API method "getblockchaininfo". Therefore, the pool server never makes these pools available. Is there a way round this? Been thinking of writing a proxy in PHP that basically proxies everything, but if getblockchaininfo is requested, then it will try and "hack" the information from other methods and provide it back quickly as the response. Some of the information provided by this seems to be available with other methods. Anyone else got any ideas? |
@woblit Interesting find. Do they support an rpc method that could be substituted? |
Seemingly not. Have taken a look and nothing else quite provides the info needed. Seems like "Getblockchaininfo" might have been a later edition to the bitcoind API arsenal. Does the pool server need all the info provided by Getblockchaininfo? What is essential? |
@woblit Essential fortunately nothing. Let me point you to the use cases for getblockchaininfo:
All of those could be worked around with some sensible defaults and perhaps some optional configuration fields. |
* Ignore redundant ZMQ block hash updates for the same block from multiple daemons * Disable stratum method _suggest_difficulty_ for now * Job management change * Runtime info logging * Fixed GBX, CRC * Do not return stale miner performance stats via API * VarDiff maxDelta support * Validate Monero PaymentID on login * Do not send work until login is complete. Fixes #204 * Blake2s hash integration * Support for Legacy Bitcoin daemons. Fixes #77, #119 * Verge (XVG) integration * Neoscrypt fix * Legacy daemon fix * improved POW/POS check * Logging of block submissions * BlockRewardMultiplier * Increase Pg Command Timeout * Added payment audit-trail * Fixes #194
Fixed a couple releases ago through the addition of the "hasLegacyDaemon" configuration property. |
I have enabled PPC (Peercoin) on Miningcore. However, MiningCore doesn't seem to be able to make use of the JSON-RPC server offered by the client. I am getting the following in my log:
[Bitcoin Job Manager] Waiting for daemons to come online ...
I have tested connection to the JSON-RPC server using CURL and this is all working correctly.
I have tried this with other Bitcoin based clients, like DEM and this also causes a the same issue in MiningCore.
Any chance there could be a fix to this soon, as it has disabled certain coins from being used.
The text was updated successfully, but these errors were encountered: