Bitcoin Forum
October 23, 2017, 03:59:46 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [FOUND] List of Command-line arguments for Bitcoin.exe  (Read 2962 times)
PandaMiner
Sr. Member
****
Offline Offline

Activity: 308



View Profile
July 05, 2011, 12:49:02 PM
 #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.

CENTRA

            ▄▄▄██████████▄▄▄
        ▄▄████████████████████▄▄
      ▄███████▀▀         ▀▀███████▄
    ▄█████▀                  ▀██████
   █████▀      ▄▄▄█████▄▄      ▀█████▄
  █████     ▄██████████████▄     ▀████▄
 █████     ██████▀▀  ▀▀██████▄    ▀████
▐████     █████          █████     █████
█████    ▐████                     ▐████
█████    █████                     ▐████
█████     █████          ▄████▌    █████
 ████▌    ▀█████▄▄    ▄▄█████▀    ▄████▌
 ▀████▄     ▀██████████████▀     ▄████▀
  ▀█████▄     `▀████████▀▀     ▄█████▀
   `██████▄                  ▄██████
     ▀███████▄▄          ▄▄███████▀
       ▀██████████████████████▀
           ▀▀▀█████████████▀▀

.
.
.
.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508774386
Hero Member
*
Offline Offline

Posts: 1508774386

View Profile Personal Message (Offline)

Ignore
1508774386
Reply with quote  #2

1508774386
Report to moderator
1508774386
Hero Member
*
Offline Offline

Posts: 1508774386

View Profile Personal Message (Offline)

Ignore
1508774386
Reply with quote  #2

1508774386
Report to moderator
1508774386
Hero Member
*
Offline Offline

Posts: 1508774386

View Profile Personal Message (Offline)

Ignore
1508774386
Reply with quote  #2

1508774386
Report to moderator
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1050


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

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

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
PandaMiner
Sr. Member
****
Offline Offline

Activity: 308



View Profile
July 05, 2011, 12:58:59 PM
 #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)

CENTRA

            ▄▄▄██████████▄▄▄
        ▄▄████████████████████▄▄
      ▄███████▀▀         ▀▀███████▄
    ▄█████▀                  ▀██████
   █████▀      ▄▄▄█████▄▄      ▀█████▄
  █████     ▄██████████████▄     ▀████▄
 █████     ██████▀▀  ▀▀██████▄    ▀████
▐████     █████          █████     █████
█████    ▐████                     ▐████
█████    █████                     ▐████
█████     █████          ▄████▌    █████
 ████▌    ▀█████▄▄    ▄▄█████▀    ▄████▌
 ▀████▄     ▀██████████████▀     ▄████▀
  ▀█████▄     `▀████████▀▀     ▄█████▀
   `██████▄                  ▄██████
     ▀███████▄▄          ▄▄███████▀
       ▀██████████████████████▀
           ▀▀▀█████████████▀▀

.
.
.
.
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2814


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

bitcoin -?

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
PandaMiner
Sr. Member
****
Offline Offline

Activity: 308



View Profile
July 05, 2011, 01:35:53 PM
 #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

CENTRA

            ▄▄▄██████████▄▄▄
        ▄▄████████████████████▄▄
      ▄███████▀▀         ▀▀███████▄
    ▄█████▀                  ▀██████
   █████▀      ▄▄▄█████▄▄      ▀█████▄
  █████     ▄██████████████▄     ▀████▄
 █████     ██████▀▀  ▀▀██████▄    ▀████
▐████     █████          █████     █████
█████    ▐████                     ▐████
█████    █████                     ▐████
█████     █████          ▄████▌    █████
 ████▌    ▀█████▄▄    ▄▄█████▀    ▄████▌
 ▀████▄     ▀██████████████▀     ▄████▀
  ▀█████▄     `▀████████▀▀     ▄█████▀
   `██████▄                  ▄██████
     ▀███████▄▄          ▄▄███████▀
       ▀██████████████████████▀
           ▀▀▀█████████████▀▀

.
.
.
.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1050


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

You want -addnode

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
PandaMiner
Sr. Member
****
Offline Offline

Activity: 308



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.

CENTRA

            ▄▄▄██████████▄▄▄
        ▄▄████████████████████▄▄
      ▄███████▀▀         ▀▀███████▄
    ▄█████▀                  ▀██████
   █████▀      ▄▄▄█████▄▄      ▀█████▄
  █████     ▄██████████████▄     ▀████▄
 █████     ██████▀▀  ▀▀██████▄    ▀████
▐████     █████          █████     █████
█████    ▐████                     ▐████
█████    █████                     ▐████
█████     █████          ▄████▌    █████
 ████▌    ▀█████▄▄    ▄▄█████▀    ▄████▌
 ▀████▄     ▀██████████████▀     ▄████▀
  ▀█████▄     `▀████████▀▀     ▄█████▀
   `██████▄                  ▄██████
     ▀███████▄▄          ▄▄███████▀
       ▀██████████████████████▀
           ▀▀▀█████████████▀▀

.
.
.
.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!