12
7
I want to do the following:
I have one small server PC at home. I want to install bitcoind on that machine to download the blockchain information. Then I want this machine to accept RPC calls from my LAN network and setup all other bitcoin clients on my LAN network to use that server machine for blockchain info and transaction broadcasting.
I already setup a bitcoind client on the server with the following bitcoin.conf values:
server=1
rpcuser=MyRPCUser
rpcpassword=MyRPCPassword
rpcallowip=192.168.0.*
rpcssl=1
rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH
rpcsslcertificatechainfile=server.cert
rpcsslprivatekeyfile=server.pem
Note that I did follow the instruction for creating a SSL certificate.
What should I do on the client machines? I tried bitcoin-qt -rpcconnect=[server-ip] but it seemed to just start regularly continuing to download the blockchain from where it stopped last time.
Besides, is it possible to let Bitcoin Armory also use a bitcoin client via RPC instead of the one of the same machine? Or does it really require a remote bitcoind <-> local bitcoin client <-> armory setup?
connect=<ip> : Connect only to the specified node(s)That option will just let the client bitcoin download the blockchain from the server bitcoin peer, which I don't want. I want it to use the server bitcoind to check the blockchain and to transmit transactions. I think that's what therpcconnectparameter does... – Steven Roose – 2013-02-04T23:33:59.580No it is not. RPC stands for Remote Procedure Call, like I said, the
rpc_connectoption will simply mean that any JSON-RPC commands will be forward to the configured node.connectdoes exactly what I told you, it connects to one or a collection of nodes exclusively. These nodes will then be used to download the chain AND get transactions. This is exactly what you want.connectforces a connection to one or several nodes excluding all others,add_nodewill connect to the configured node without excluding any other one. – David – 2013-02-05T09:45:11.183I know what you told me. But I don't want to download the blockchain on the other machines, I want them to just use the server one using RPC. I don't know for sure what functionality is available over RPC, but I think it should be possible that a rpc-connected client can receive
getinfocommands and accept transactions and just forward them to the server bitcoind over RPC. The main reason I want to use this for is Armory, which needs a bitcoin client to be running on the same machine, so I want that bitcoin client to forward all commands it gets to the server daemon. – Steven Roose – 2013-02-05T12:49:20.4231I see, edited the answer. – David – 2013-02-05T13:08:07.473
Thanks for the correction. What do you mean with a proxy-setup? Would a proxy not just let a client download the blockchain via a different node? – Steven Roose – 2013-02-05T18:10:35.957
Thinking about it the proxy part doesn't actually make much sense, removed it. I believe your original question is now answered. – David – 2013-02-05T22:27:15.663