Hey everyone,
I want to know how to define datadir on bitcoind from PHP JSON RPC ?
bitcoind -datadir=$HOME/.bitcoin
I tried like this but no result:
$bitcoin = new jsonRPCClient('http://'.json_username.':'.json_password.'@'.json_server.':'.json_port.'/');
$bitcoin->datadir = "$HOME/.bitcoin";
But no result
Please give me an idea about this, thank you so much.
TH GOAL IS TO USE TWO WALLETS IN THE SAME SERVER