JohnJoule (OP)
Newbie
Offline
Activity: 56
Merit: 0
|
|
December 02, 2014, 04:42:49 PM |
|
In addition to that, I've tried sending RPC commands with curl as described in the Bitcoin wiki: 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. It should work the same as bitcoind. This is the relevant code in rpcserver.cpp. Do you get "ThreadRPCServer incorrect password attempt from ...." in your debug.log? Can you print out your raw http request? // Check authorization if (mapHeaders.count("authorization") == 0) { conn->stream() << HTTPReply(HTTP_UNAUTHORIZED, "", false) << std::flush; break; } if (!HTTPAuthorized(mapHeaders)) { LogPrintf("ThreadRPCServer incorrect password attempt from %s\n", conn->peer_address_to_string()); /* Deter brute-forcing short passwords. If this results in a DoS the user really shouldn't have their RPC port exposed. */ if (mapArgs["-rpcpassword"].size() < 20) MilliSleep(250);
conn->stream() << HTTPReply(HTTP_UNAUTHORIZED, "", false) << std::flush; break; }
|
|
|
|
salfter
|
|
December 03, 2014, 08:11:24 PM |
|
In addition to that, I've tried sending RPC commands with curl as described in the Bitcoin wiki: 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 should work the same as bitcoind. This is the relevant code in rpcserver.cpp. Do you get "ThreadRPCServer incorrect password attempt from ...." in your debug.log? Can you print out your raw http request? Yes...even though the password is correct. Throwing -v in to the options to curl, I get this: Enter host password for user 'salfter': [password pasted in here] * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to 127.0.0.1 (127.0.0.1) port 8844 (#0) * Server auth using Basic with user 'salfter' > POST / HTTP/1.1 > Authorization: Basic [base64 encoding of RPC password redacted] > User-Agent: curl/7.35.0 > Host: 127.0.0.1:8844 > Accept: */* > content-type: text/plain; > Content-Length: 71 > * upload completely sent off: 71 out of 71 bytes * HTTP 1.0, assume close after body < HTTP/1.0 401 Authorization Required < Date: Wed, 03 Dec 2014 20:05:43 +0000 < Server: joulecoin-json-rpc/v0.9.2.2-beta * Authentication problem. Ignoring this. < WWW-Authenticate: Basic realm="jsonrpc" < Content-Type: text/html < Content-Length: 296 < <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML> <HEAD> <TITLE>Error</TITLE> <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'> </HEAD> <BODY><H1>401 Unauthorized.</H1></BODY> </HTML> * Closing connection 0
The same transaction against bitcoind, by comparison, looks like this: Enter host password for user 'salfter': [password pasted in here] * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to 127.0.0.1 (127.0.0.1) port 8332 (#0) * Server auth using Basic with user 'salfter' > POST / HTTP/1.1 > Authorization: Basic [base64 encoding of RPC password redacted] > User-Agent: curl/7.35.0 > Host: 127.0.0.1:8332 > Accept: */* > content-type: text/plain; > Content-Length: 71 > * upload completely sent off: 71 out of 71 bytes < HTTP/1.1 200 OK < Date: Wed, 03 Dec 2014 20:08:43 +0000 < Connection: keep-alive < Content-Length: 456 < Content-Type: application/json * Server bitcoin-json-rpc/v0.9.99.0-c1def0d is not blacklisted < Server: bitcoin-json-rpc/v0.9.99.0-c1def0d < {"result":{"version":99900,"protocolversion":70002,"walletversion":60000,"balance":0.93079170,"blocks":332738,"timeoffset":0,"connections":8,"proxy":"","difficulty":40007470271.27126312,"testnet":false,"keypoololdest":1415387100,"keypoolsize":99,"unlocked_until":0,"paytxfee":0.00000000,"relayfee":0.00001000,"errors":"This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"},"error":null,"id":"curltest"} * Connection #0 to host 127.0.0.1 left intact
|
|
|
|
salfter
|
|
December 03, 2014, 08:45:19 PM |
|
Can you print out your raw http request?
I've put up screen captures from Wireshark here: http://imgur.com/a/Sh2jx#0Joulecoin: Bitcoin:
|
|
|
|
JohnJoule (OP)
Newbie
Offline
Activity: 56
Merit: 0
|
|
December 04, 2014, 05:30:46 AM |
|
Can you print out your raw http request?
I've put up screen captures from Wireshark here: http://imgur.com/a/Sh2jx#0Joulecoin: Bitcoin: I compared the code and the Joulecoin and Bitcoin code is exactly the same. Try modifying the HTTPAuthorized function in file src/rpcserver.cpp at line 374 to print to the debug.log the passwords it is comparing: bool HTTPAuthorized(map<string, string>& mapHeaders) { string strAuth = mapHeaders["authorization"]; if (strAuth.substr(0,6) != "Basic ") return false; string strUserPass64 = strAuth.substr(6); boost::trim(strUserPass64); string strUserPass = DecodeBase64(strUserPass64); LogPrintf("1:%s 2:%s\n", strUserPass, strRPCUserColonPass); // ADD THIS LINE return TimingResistantEqual(strUserPass, strRPCUserColonPass); }
|
|
|
|
spazzdla
Legendary
Offline
Activity: 1722
Merit: 1000
|
|
December 04, 2014, 01:52:56 PM |
|
This convo is to smart for me ... I am la curious to the outcome though.
|
|
|
|
salfter
|
|
December 05, 2014, 09:59:30 PM |
|
I compared the code and the Joulecoin and Bitcoin code is exactly the same.
Try modifying the HTTPAuthorized function in file src/rpcserver.cpp at line 374 to print to the debug.log the passwords it is comparing:
Tried that with the client...looks OK. Tried with curl...why is the RPC username in one string and not the other? Let's have another look at joulecoin.conf... Somehow I had used "rpcuser name=salfter" instead of "rpcuser=salfter" in there. Just fired up MinerSwitcher, and XJO is showing up alongside the other coins.
|
|
|
|
spazzdla
Legendary
Offline
Activity: 1722
Merit: 1000
|
|
December 05, 2014, 10:46:06 PM |
|
Go joule coin go!
|
|
|
|
sdmathis
|
|
December 07, 2014, 06:46:39 PM |
|
is this coin under value right now or do i miss something?
It certainly looks undervalued to me. I've been mining the hell out of it. Ready for the price to go up.
|
|
|
|
BitcoinCharlie
Legendary
Offline
Activity: 1260
Merit: 1001
|
|
December 07, 2014, 08:09:18 PM |
|
is this coin under value right now or do i miss something?
It certainly looks undervalued to me. I've been mining the hell out of it. Ready for the price to go up. Not saying that it is not, but what coin attributes cause you to believe that it's undervalued?
|
Unobtanium - The crypto commodity you keep! | Hate Inflation? You'll love $UNO
|
|
|
sdmathis
|
|
December 09, 2014, 04:10:35 PM |
|
is this coin under value right now or do i miss something?
It certainly looks undervalued to me. I've been mining the hell out of it. Ready for the price to go up. Not saying that it is not, but what coin attributes cause you to believe that it's undervalued? It's a solid, mature (over one year old) coin with a solid developer and small but dedicated community. Right now, there are so many junk coins out there and people are getting tired of them. A shaking out has already begun and most of the garbage out there won't survive. All the money in junk coins has to go somewhere (assuming it doesn't leave crypto altogether), and those left standing will all benefit. I believe that Joulecoin will be one of those left standing. It won't be the top coin. Hell, it probably won't be even near the top, but it will survive and it will rise in value. I'm not saying that anybody should sell the family farm and buy Joulecoin, but it might not hurt to point one of your mining rigs toward a Joulecoin mining pool. That's just one man's opinion, for what it's worth.
|
|
|
|
DiabloPool
Newbie
Offline
Activity: 27
Merit: 0
|
|
December 09, 2014, 05:50:21 PM |
|
The new DiabloPool.com has added joulecoin as one of its core coins.
|
|
|
|
BitcoinCharlie
Legendary
Offline
Activity: 1260
Merit: 1001
|
|
December 09, 2014, 10:14:25 PM |
|
is this coin under value right now or do i miss something?
It certainly looks undervalued to me. I've been mining the hell out of it. Ready for the price to go up. Not saying that it is not, but what coin attributes cause you to believe that it's undervalued? It's a solid, mature (over one year old) coin with a solid developer and small but dedicated community. Right now, there are so many junk coins out there and people are getting tired of them. A shaking out has already begun and most of the garbage out there won't survive. All the money in junk coins has to go somewhere (assuming it doesn't leave crypto altogether), and those left standing will all benefit. I believe that Joulecoin will be one of those left standing. It won't be the top coin. Hell, it probably won't be even near the top, but it will survive and it will rise in value. I'm not saying that anybody should sell the family farm and buy Joulecoin, but it might not hurt to point one of your mining rigs toward a Joulecoin mining pool. That's just one man's opinion, for what it's worth. @SD Thanks for your thoughts. I agree, in crypto, surviving a year is like 1,000 years in the real world. I like XJO and I notice a lot of the names in this forum are also found in the Unobtanium thread. $UNO has a very strong community and individuals who are in crypto for the long-haul, not just to pump and dump. It's a good sign to see those names here, that's why I've bought some XJO and sent some hash this way as well..
|
Unobtanium - The crypto commodity you keep! | Hate Inflation? You'll love $UNO
|
|
|
coolindark
Legendary
Offline
Activity: 959
Merit: 1037
|
|
December 10, 2014, 10:52:12 PM |
|
Here is our XJO p2pool located at U.S. http://xjo.bitcoin.net.co:9844/static/
|
ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ
|
|
|
IMZ
Legendary
Offline
Activity: 1498
Merit: 1000
|
|
December 17, 2014, 10:05:42 AM |
|
Yeh, go, Joule Coin!
mark
|
|
|
|
spazzdla
Legendary
Offline
Activity: 1722
Merit: 1000
|
|
December 17, 2014, 01:55:10 PM |
|
Anyone got any ideas for what we can do with this coin?
Anyone make a phone wallet for it?
Althought I do really wish some would make a jouleaddress.org that is like bitaddress.org..
I would probably throw 100 milibits(perhaps more) in for this or some XJO.
|
|
|
|
IMZ
Legendary
Offline
Activity: 1498
Merit: 1000
|
|
December 22, 2014, 11:14:30 PM |
|
Long-timers know that good relations cross coin-tribe borders: Merry Christmas to Joule
IndiaMikeZulu, Australia
|
|
|
|
spazzdla
Legendary
Offline
Activity: 1722
Merit: 1000
|
|
December 23, 2014, 02:56:36 AM |
|
Merry Christmas all!! May your holidays be filled with joy and good times!
|
|
|
|
spazzdla
Legendary
Offline
Activity: 1722
Merit: 1000
|
|
January 02, 2015, 04:56:33 AM |
|
Happy new year Joulecoiners! Hopefully your holidays did not involve strep throat like mine.. :S .
|
|
|
|
balu2
|
|
January 02, 2015, 08:37:20 AM |
|
can this merge with UNO?
|
|
|
|
spazzdla
Legendary
Offline
Activity: 1722
Merit: 1000
|
|
January 02, 2015, 04:03:26 PM |
|
I would be against a merger.
|
|
|
|
|