Author

Topic: [FOUND] List of Command-line arguments for Bitcoin.exe (Read 3095 times)

sr. member
Activity: 322
Merit: 250
You want -addnode


Nope, they are all behind the same router, so I went with -connect as per the wiki.
legendary
Activity: 1072
Merit: 1174
You want -addnode
sr. member
Activity: 322
Merit: 250
bitcoin -?

This doesn't work.  It either starts the client normally, or errors out and says there's no password set in the (non existant) config file.

But, i was able to find something on the wiki by accident: a default bitcoin.config file, with all defaults set in value pairs so that you can see what's going on.

But above that sat this, which didn't work for me "-?" before setting up my config file.

Code:
 -conf=       Specify configuration file (default: bitcoin.conf)
 -gen               Generate coins
 -gen=0             Don't generate coins
 -min               Start minimized
 -datadir=     Specify data directory
 -proxy=   Connect through socks4 proxy
 -addnode=      Add a node to connect to
 -connect=      Connect only to the specified node
 -nolisten          Don't accept connections from outside
 -noupnp            Don't attempt to use UPnP to map the listening port
 -upnp              Attempt to use UPnP to map the listening port
 -paytxfee=    Fee per KB added to transactions you send
 -server            Accept command line and JSON-RPC commands
 -daemon            Run in the background as a daemon and accept commands
 -testnet           Use the test network
 -port=       Connect to the Network from (default: 8333; 18333 for testnet)
 -rpcuser=    Username for JSON-RPC connections
 -rpcpassword=  Password for JSON-RPC connections
 -rpcport=    Listen for JSON-RPC connections on (default: 8332)
 -rpcallowip=   Allow JSON-RPC connections from specified IP address
 -rpcconnect=   Send commands to node running on (default: 127.0.0.1)
 -keypool=       Set key pool size to (default: 100)
 -rescan            Rescan the block chain for missing wallet transactions
 -rpcssl            Use OpenSSL (https) for JSON-RPC connections
 -?                 This help message
administrator
Activity: 5166
Merit: 12850
bitcoin -?
sr. member
Activity: 322
Merit: 250

Thanks. Sent ya a bitcent.


EDIT:  This is not what I needed.  For example, what is the command to have bitcoin start up in one of your networked computers, but look to another computer for the updates/block chain? (The other computer's ip is where the port has been forwarded to)
sr. member
Activity: 322
Merit: 250
I've tried searching this forum but it only returns a command here, and a command there, etc.  I can't find anywhere a place that has them all in one place.

I've even tried running "bitcoin.exe /help" and "bitcoin.exe -help" and "/?" to no avail.  I don't know how to read the open source code either.

Can someone point me in the right direction, or provide all the commands in a "/help" style? Thanks.


Dave


EDIT: These have been found in the wiki. See my last post.
Jump to: