mila I realized that if you want to
only use the nodes behind tor hidden services, you should use "connect" instead of "addnode"
Clearing out the UPnP forwards got my connection count up.
$ bitcoind getinfo
{
"version" : 50100,
"balance" : 0.00000000,
"blocks" : 159178,
"connections" : 23,
"proxy" : "",
"generate" : false,
"genproclimit" : -1,
"difficulty" : 1155038.33396364,
"hashespersec" : 0,
"testnet" : false,
"keypoololdest" : 1324762350,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"errors" : ""
}
$ namecoind getinfo
{
"version" : 32464,
"balance" : 0.00000000,
"blocks" : 34897,
"connections" : 26,
"proxy" : "",
"generate" : false,
"genproclimit" : -1,
"difficulty" : 409454.72461946,
"hashespersec" : 0,
"testnet" : false,
"keypoololdest" : 1324762469,
"paytxfee" : 0.00000000,
"errors" : ""
}
Now my only question is if I should set the proxy back to using tor. I'm guessing not since then the client automatically sets "nolisten" when it detects a proxy on 9050 and I still want to listen on localhost for the hidden service. Has anyone else done this? Theres only a few other of hidden services listed and they are listed anonymously so I don't know who to ask.
p2hwc26zdsrqxiix.onion just in case you missed it although I can't get my client to connect to it
If a government ever bans/blocks bitcoin use, allowing people access to the network via a tor hidden services (or i2p or something similar) is going to be important. However, the current client doesn't appear to work with hidden services very well.
Some of the issues are brought up here
https://github.com/bitcoin/bitcoin/issues/441. However, that is for being a node that doesn't contribute for the network. I am trying to run a tor hidden service and it really doesn't seem possible to run one optimally.
How can I set my node to not advertise my IP on IRC without setting "nolisten"? I have to listen on localhost without giving my IP in order to run the hidden service properly.
On a side note, I'm really surprised that the client can't use a port besides 8333.
EDIT: So I think that tor hidden services and bitcoin are not currently compatible. Putting the onion hostnames from the wiki into connect did not work for me at all. I know my own hidden service is up as I am also running a simple web server that is accessible from the same hostname.
When I put the IP of the system running my hidden service on the connect line, it works. Obviously this defeats the purpose of the hidden service though. Does bitcoin ignore connection attempts from localhost or something? Anyone have any ideas as to why hidden services aren't working?