Bitcoin Forum
November 12, 2024, 06:24:48 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 »
  Print  
Author Topic: [ANN] [XJO] Joulecoin | SHA256 | First SHA256 data coin | 0.10.4.3  (Read 139745 times)
JohnJoule (OP)
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
December 02, 2014, 04:42:49 PM
 #441


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.

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?

Code:
        // 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
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
December 03, 2014, 08:11:24 PM
 #442


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 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:

Code:
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:

Code:
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

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
December 03, 2014, 08:45:19 PM
 #443

Can you print out your raw http request?

I've put up screen captures from Wireshark here:

http://imgur.com/a/Sh2jx#0

Joulecoin:




Bitcoin:




Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
JohnJoule (OP)
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
December 04, 2014, 05:30:46 AM
 #444

Can you print out your raw http request?

I've put up screen captures from Wireshark here:

http://imgur.com/a/Sh2jx#0

Joulecoin:

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:

Code:
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 Offline

Activity: 1722
Merit: 1000


View Profile
December 04, 2014, 01:52:56 PM
 #445

This convo is to smart for me Sad...  I am la curious to the outcome though.
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
December 05, 2014, 09:59:30 PM
 #446

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 "rpcusername=salfter" instead of "rpcuser=salfter" in there.

Just fired up MinerSwitcher, and XJO is showing up alongside the other coins.


Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
spazzdla
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000


View Profile
December 05, 2014, 10:46:06 PM
 #447

Go joule coin go!
sdmathis
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


AKA The Rubber Monkey


View Profile
December 07, 2014, 06:46:39 PM
 #448

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. Smiley

BitcoinCharlie
Legendary
*
Offline Offline

Activity: 1260
Merit: 1001



View Profile WWW
December 07, 2014, 08:09:18 PM
 #449

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. Smiley
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
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


AKA The Rubber Monkey


View Profile
December 09, 2014, 04:10:35 PM
 #450

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. Smiley
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 Offline

Activity: 27
Merit: 0


View Profile WWW
December 09, 2014, 05:50:21 PM
 #451

The new DiabloPool.com has added joulecoin as one of its core coins.
BitcoinCharlie
Legendary
*
Offline Offline

Activity: 1260
Merit: 1001



View Profile WWW
December 09, 2014, 10:14:25 PM
 #452

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. Smiley
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 Offline

Activity: 959
Merit: 1037



View Profile WWW
December 10, 2014, 10:52:12 PM
 #453

Here is our XJO p2pool located at U.S.  Wink

http://xjo.bitcoin.net.co:9844/static/

ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ
ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ
IMZ
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000



View Profile
December 17, 2014, 10:05:42 AM
 #454

Yeh, go, Joule Coin!

mark
spazzdla
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000


View Profile
December 17, 2014, 01:55:10 PM
 #455

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 Offline

Activity: 1498
Merit: 1000



View Profile
December 22, 2014, 11:14:30 PM
 #456

Long-timers know that good relations cross coin-tribe borders: Merry Christmas to Joule

IndiaMikeZulu, Australia
spazzdla
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000


View Profile
December 23, 2014, 02:56:36 AM
 #457

Merry Christmas all!! May your holidays be filled with joy and good times!
spazzdla
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000


View Profile
January 02, 2015, 04:56:33 AM
 #458

Happy new year Joulecoiners!  Hopefully your holidays did not involve strep throat like mine.. :S Sad.
balu2
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
January 02, 2015, 08:37:20 AM
 #459

can this merge with UNO?
spazzdla
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000


View Profile
January 02, 2015, 04:03:26 PM
 #460

I would be against a merger.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!