Running Bitcoin on command-line-only system

7

2

I want to run a Bitcoin client on a command-line-only system (Amazon EC2). Is there some specific command-line parameters I should use in order to run the main client without the GUI, or will it run properly without any parameters? How do I later check the status of the client (check number of connections, balance, etc)?

ThePiachu

Posted 2011-11-15T11:42:28.627

Reputation: 41 594

Answers

7

To run it as a daemon type:

$ bitcoind -daemon
bitcoin server starting
$

You can then use the API calls to do whatever you want:

$ bitcoind getblockcount
153407
$ bitcoind getconnectioncount
20

nmat

Posted 2011-11-15T11:42:28.627

Reputation: 10 879

1When I run that, I get "error: incorrect rpcuser or rpcpassword (authorization failed)". Do I need to pass those values on the command line?posit labs 2014-05-14T04:00:58.880