Bitcoin Forum
March 19, 2024, 05:29:32 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [FOUND] List of Command-line arguments for Bitcoin.exe  (Read 3090 times)
PandaMiner (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
July 05, 2011, 12:49:02 PM
Last edit: July 05, 2011, 01:50:00 PM by PandaMiner
 #1

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.

❘|❘ NEUFUND Re-Imagine ICOs | Connect off- and on-chain with equity tokens | Enjoy risk-free commitment
JOIN THE ICBM | JOIN THE DISCUSSION
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710826172
Hero Member
*
Offline Offline

Posts: 1710826172

View Profile Personal Message (Offline)

Ignore
1710826172
Reply with quote  #2

1710826172
Report to moderator
1710826172
Hero Member
*
Offline Offline

Posts: 1710826172

View Profile Personal Message (Offline)

Ignore
1710826172
Reply with quote  #2

1710826172
Report to moderator
1710826172
Hero Member
*
Offline Offline

Posts: 1710826172

View Profile Personal Message (Offline)

Ignore
1710826172
Reply with quote  #2

1710826172
Report to moderator
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1170


View Profile WWW
July 05, 2011, 12:57:11 PM
 #2

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

I do Bitcoin stuff.
PandaMiner (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
July 05, 2011, 12:58:59 PM
Last edit: July 05, 2011, 01:10:31 PM by PandaMiner
 #3


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)

❘|❘ NEUFUND Re-Imagine ICOs | Connect off- and on-chain with equity tokens | Enjoy risk-free commitment
JOIN THE ICBM | JOIN THE DISCUSSION
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5138
Merit: 12565


View Profile
July 05, 2011, 01:13:39 PM
 #4

bitcoin -?

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
PandaMiner (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
July 05, 2011, 01:35:53 PM
Last edit: July 05, 2011, 01:51:22 PM by PandaMiner
 #5

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=<file>       Specify configuration file (default: bitcoin.conf)
 -gen               Generate coins
 -gen=0             Don't generate coins
 -min               Start minimized
 -datadir=<dir>     Specify data directory
 -proxy=<ip:port>   Connect through socks4 proxy
 -addnode=<ip>      Add a node to connect to
 -connect=<ip>      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=<amt>    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=<port>       Connect to the Network from <port> (default: 8333; 18333 for testnet)
 -rpcuser=<user>    Username for JSON-RPC connections
 -rpcpassword=<pw>  Password for JSON-RPC connections
 -rpcport=<port>    Listen for JSON-RPC connections on <port> (default: 8332)
 -rpcallowip=<ip>   Allow JSON-RPC connections from specified IP address
 -rpcconnect=<ip>   Send commands to node running on <ip> (default: 127.0.0.1)
 -keypool=<n>       Set key pool size to <n> (default: 100)
 -rescan            Rescan the block chain for missing wallet transactions
 -rpcssl            Use OpenSSL (https) for JSON-RPC connections
 -?                 This help message

❘|❘ NEUFUND Re-Imagine ICOs | Connect off- and on-chain with equity tokens | Enjoy risk-free commitment
JOIN THE ICBM | JOIN THE DISCUSSION
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1170


View Profile WWW
July 05, 2011, 02:33:54 PM
 #6

You want -addnode

I do Bitcoin stuff.
PandaMiner (OP)
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
July 05, 2011, 06:55:45 PM
 #7

You want -addnode


Nope, they are all behind the same router, so I went with -connect as per the wiki.

❘|❘ NEUFUND Re-Imagine ICOs | Connect off- and on-chain with equity tokens | Enjoy risk-free commitment
JOIN THE ICBM | JOIN THE DISCUSSION
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!