bitcoin.conf example

NAME
bitcoin.conf - bitcoin configuration file
SYNOPSIS
All  command-line  options  (except  for '-datadir' and '-conf') may be
       specified in a configuration file, and all configuration  file  options
       may  also  be  specified  on  the  command  line.  Command-line options
       override values set in the configuration file.

       The configuration file is a list  of  'setting=value'  pairs,  one  per
       line, with optional comments starting with the '#' character.

       The  configuration file is not automatically created; you can create it
       using your favorite plain-text editor.  By  default,  bitcoind(1)  will
       look  for  a  file named bitcoin.conf(5) in the bitcoin data directory,
       but both the data directory and the  configuration  file  path  may  be
       changed using the '-datadir' and '-conf' command-line arguments.
LOCATION
bitcoin.conf should be located in $HOME/.bitcoin
NETWORK-RELATED SETTINGS
testnet=['1'|'0']
              Enable  or disable run on the test network instead of the
              real *bitcoin* network.

       proxy='127.0.0.1:9050'
              Connect via a socks4 proxy.

       addnode='10.0.0.2:8333'
              Use as many *addnode=* settings as you like to connect to
              specific peers.

       connect='10.0.0.1:8333'
              Use  as  many  *connect=* settings as you like to connect
              ONLY to specific peers.

       noirc=['1'|'0']
              Use or Do not  use  Internet  Relay  Chat  (irc.lfnet.org
              #bitcoin channel) to find other peers.

       maxconnections='value'
              Maximum number of inbound+outbound connections.
JSON-RPC OPTIONS
server=['1'|'0']
              Tells   *bitcoin*   to  accept  or  not  accept  JSON-RPC
              commands.

       rpcuser='username'
              You must set *rpcuser* to secure the JSON-RPC api.

       rpcpassword='password'
              You must set *rpcpassword* to secure the JSON-RPC api.

       rpctimeout='30'
              How many seconds *bitcoin* will wait for a  complete  RPC
              HTTP request, after the HTTP connection is established.

       rpcallowip='192.168.1.*'
              By  default,  only  RPC  connections  from  localhost are
              allowed. Specify as many *rpcallowip=*  settings  as  you
              like  to  allow connections from other hosts (and you may
              use * as a wildcard character).

       rpcport='8332'
              Listen for RPC connections on this TCP port.

       rpcconnect='127.0.0.1'
              You can use *bitcoin* or *bitcoind(1)* to  send  commands
              to  *bitcoin*/*bitcoind(1)* running on another host using
              this option.

       rpcssl='1'
              Use Secure Sockets Layer (also known as TLS or HTTPS)  to
              communicate  with  *bitcoin*  '-server' or *bitcoind(1)*.
              Example of OpenSSL settings used when *rpcssl*='1':

       rpcsslciphers='TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH'

       rpcsslcertificatechainfile='server.cert'

       rpcsslprivatekeyfile='server.pem'

       MISCELLANEOUS OPTIONS

       gen=['0'|'1']
              Enable or disable attempt to generate bitcoins.

       4way=['0'|'1']
              Enable or disable use SSE instructions to try to generate
              bitcoins faster.

       keypool='100'
              Pre-generate  this  many  public/private  key  pairs,  so
              wallet  backups will be valid for both prior transactions
              and several dozen future transactions.

       paytxfee='0.00'
              Pay an optional  transaction  fee  every  time  you  send
              bitcoins.  Transactions  with  fees  are more likely than
              free transactions to be included in generated blocks,  so
              may be validated sooner.

       allowreceivebyip='1'
              Allow  direct  connections  for  the 'pay via IP address'
              feature.

       USER INTERFACE OPTIONS

       min=['0'|'1']
              Enable or disable start bitcoind minimized.

       minimizetotray=['0'|'1']
              Enable or disable minimize to the system tray.
SEE ALSO
bitcoind(1)
AUTHOR
This   manual   page   was    written    by    Micah    Anderson
       <micah@debian.org>  for  the  Debian  system (but may be used by
       others). Permission is granted to copy, distribute and/or modify
       this document under the terms of the GNU General Public License,
       Version 3 or any later version published by  the  Free  Software
       Foundation.

       On  Debian  systems, the complete text of the GNU General Public
       License can be found in /usr/share/common-licenses/GPL.

转载于:https://my.oschina.net/wdyoschina/blog/1586214

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值