Post
Topic
Board Announcements (Altcoins)
Re: joulecoind vs. python-bitcoinrpc
by
salfter
on 02/12/2014, 16:33:00 UTC
I'm looking at adding Joulecoin to my MinerSwitcher setup, but I've run into a snag: I can't get the block reward out of joulecoind.

[...]

It's hard to reach any other conclusion than that there's a bug somewhere in the Joulecoin codebase, given that I have 25 other coins configured and running properly with the same code.

Are you sure you have the correct port, port is open, etc?

Try telnet to the host/port and see if you can connect.

The getblocktemplate command returns the information you are looking for:

Code:
{
"coinbasevalue" : 1600000000,
}


In addition to that, I've tried sending RPC commands with curl as described in the Bitcoin wiki:

Code:
curl --user user --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8844/

This fails with a 401 error.  It works against bitcoind (and, presumably, the other coin daemons...also tested it against 42, for instance), but not joulecoind.  I'm giving it the same password that's in .joulecoin/joulecoin.conf, so that isn't it.