Author

Topic: btc client server running why cant i get ltc to work? (Read 607 times)

full member
Activity: 169
Merit: 100
anyone out there?
newbie
Activity: 46
Merit: 0
I misunderstood. Disregard my previous post.
full member
Activity: 169
Merit: 100
im actually not trying to mine im trying to setup a server for development Smiley
newbie
Activity: 46
Merit: 0
can't just use the same config, you need to set to scrypt algorithm for LTC. Plus it won't work for ASICs and FPGA's, in case you have that. Only for GPUs (disregard CPU's).
full member
Activity: 169
Merit: 100
I just installed both bitcoin-qt and litecoin-qt

I ran this with bitcoin-qt

    require_once('/jsonrpcphp/includes/jsonRPCClient.php');
    $bitcoin = new jsonRPCClient('http://YOURUSERNAME:[email protected]:8332/');
  echo "
\n";
  print_r($bitcoin->getinfo());
  echo "
";
?>

and got Array
(
    [version] => 80500
    [protocolversion] => 70001
    [walletversion] => 60000
    [balance] => 0.005
    [blocks] => 263010
    [timeoffset] => 0
    [connections] => 3
    [proxy] =>
    [difficulty] => 189281249.28103
    [testnet] =>
    [keypoololdest] => 1380924832
    [keypoolsize] => 94
    [paytxfee] => 0
    [unlocked_until] => 0
    [errors] =>
)

 back so I close the bitcoin-qt.exe server and open litecoin-qt.exe -server and I get json errors I got the same config file there just renamed litecoin.conf any ideas?

ill post a photo of errors here in a sec Smiley




$username = "anon";
    require_once('/jsonrpcphp/includes/jsonRPCClient.php');
    $litecoin = new jsonRPCClient('http://YOURUSERNAME:[email protected]:8332/');
   
   
   print($username);
  echo "
\n";
  print_r($litecoin->getnewaddress($username));
  echo "
";
?>

is the code I used it works fine with the bitcoin-qt.exe server not the litecoin-qt one tho.. Sad get the errors posted above
Jump to: