JSON-RPC call

General discussion of CryptoNote based currencies and issues.

JSON-RPC call

Postby ReC » Fri Sep 26, 2014 8:57 pm

Hi list..

I'm trying to connect to daemon through JSON-RPC ... is there a way to start a conf file like ...

bitcoind.exe -daemon -conf=c:\temp\bitcoin.conf

Is there a place to set variable like
$obj.SetCredentials("test","password",0)
How can I set password to daemon ?
User avatar
ReC
 
Posts: 15
Joined: Mon Sep 22, 2014 9:43 pm

Re: JSON-RPC call

Postby Werner_Albert » Mon Sep 29, 2014 12:25 pm

Hello,

To answer your question, try accessing --help. There you'll find the commands you need. For example, bytecoind.exe --config-file=bytecoind.cfg --data-dir=node0

Here is an example of config file:
---- bytecoind.cfg ----
log-level=2
no-console=true
----

I hope this will help.
Werner_Albert
 
Posts: 56
Joined: Wed Mar 26, 2014 3:23 pm

Re: JSON-RPC call

Postby ReC » Mon Sep 29, 2014 8:17 pm

Werner_Albert wrote:Hello,

To answer your question, try accessing --help. There you'll find the commands you need. For example, bytecoind.exe --config-file=bytecoind.cfg --data-dir=node0

Here is an example of config file:
---- bytecoind.cfg ----
log-level=2
no-console=true
----

I hope this will help.



helps a lot, thanks very much.
User avatar
ReC
 
Posts: 15
Joined: Mon Sep 22, 2014 9:43 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron