Skip to content

Latest commit

 

History

History
77 lines (73 loc) · 5.77 KB

COMMANDLINE.md

File metadata and controls

77 lines (73 loc) · 5.77 KB

#Options: -? This help message -conf= Specify configuration file (default: nexbit.conf) -pid= Specify pid file (default: nexbitd.pid) -datadir=

Specify data directory -wallet= Specify wallet file (within data directory) -dbcache= Set database cache size in megabytes (default: 25) -dblogsize= Set database disk log size in megabytes (default: 100) -timeout= Specify connection timeout in milliseconds (default: 5000) -proxy=ip:port Connect through SOCKS5 proxy -tor=ip:port Use proxy to reach tor hidden services (default: same as -proxy) -dns Allow DNS lookups for -addnode, -seednode and -connect -port= Listen for connections on (default: 13520 or testnet: 23520) -maxconnections= Maintain at most connections to peers (default: 125) -addnode= Add a node to connect to and attempt to keep the connection open -connect= Connect only to the specified node(s) -seednode= Connect to a node to retrieve peer addresses, and disconnect -externalip= Specify your own public address -onlynet= Only connect to nodes in network (IPv4, IPv6 or Tor) -discover Discover own IP address (default: 1 when listening and no -externalip) -listen Accept connections from outside (default: 1 if no -proxy or -connect) -bind= Bind to given address. Use [host]:port notation for IPv6 -dnsseed Query for peer addresses via DNS lookup, if low on addresses (default: 1 unless -connect) -forcednsseed Always query for peer addresses via DNS lookup (default: 0) -synctime Sync time with other nodes. Disable if time on your system is precise e.g. syncing with NTP (default: 1) -banscore= Threshold for disconnecting misbehaving peers (default: 100) -bantime= Number of seconds to keep misbehaving peers from reconnecting (default: 86400) -maxreceivebuffer= Maximum per-connection receive buffer, *1000 bytes (default: 5000) -maxsendbuffer= Maximum per-connection send buffer, *1000 bytes (default: 1000) -upnp Use UPnP to map the listening port (default: 1 when listening) -paytxfee= Fee per KB to add to transactions you send -mininput= When creating transactions, ignore inputs with value less than this (default: 0.01) -server Accept command line and JSON-RPC commands -daemon Run in the background as a daemon and accept commands -testnet Use the test network -debug= Output debugging information (default: 0, supplying is optional) If is not supplied, output all debugging information. can be: addrman, alert, db, lock, rand, rpc, selectcoins, mempool, net, coinage, coinstake, creation, stakemodifier, qt. -logtimestamps Prepend debug output with timestamp -shrinkdebugfile Shrink debug.log file on client startup (default: 1 when no -debug) -printtoconsole Send trace/debug info to console instead of debug.log file -regtest Enter regression test mode, which uses a special chain in which blocks can be solved instantly. This is intended for regression testing tools and app development. -rpcuser= Username for JSON-RPC connections -rpcpassword= Password for JSON-RPC connections -rpcport= Listen for JSON-RPC connections on (default: 13519 or testnet: 23519) -rpcallowip= Allow JSON-RPC connections from specified IP address -rpcthreads= Set the number of threads to service RPC calls (default: 4) -blocknotify= Execute command when the best block changes (%s in cmd is replaced by block hash) -walletnotify= Execute command when a wallet transaction changes (%s in cmd is replaced by TxID) -confchange Require a confirmations for change (default: 0) -alertnotify= Execute command when a relevant alert is received (%s in cmd is replaced by message) -upgradewallet Upgrade wallet to latest format -keypool= Set key pool size to (default: 100) -rescan Rescan the block chain for missing wallet transactions -salvagewallet Attempt to recover private keys from a corrupt wallet.dat -checkblocks= How many blocks to check at startup (default: 500, 0 = all) -checklevel= How thorough the block verification is (0-6, default: 1) -loadblock= Imports blocks from external blk000?.dat file -maxorphanblocksmib= Keep at most MiB of unconnectable blocks in memory (default: 40) -datacarriersize Maximum size of data in data carrier transactions we relay and mine (default: 15000)

#Block creation options: -blockminsize= Set minimum block size in bytes (default: 0) -blockmaxsize= Set maximum block size in bytes (default: 250000)

SSL options: (see the Bitcoin Wiki for SSL setup instructions) -rpcssl Use OpenSSL (https) for JSON-RPC connections -rpcsslcertificatechainfile=<file.cert> Server certificate file (default: server.cert) -rpcsslprivatekeyfile=<file.pem> Server private key (default: server.pem) -rpcsslciphers= Acceptable ciphers (default: TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)

UI options: -lang= Set language, for example "de_DE" (default: system locale) -min Start minimized -splash Show splash screen on startup (default: 1)