In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to configure bitcoin.conf". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Default path of bitcoin.conf
Under linux, the default path for bitcoin.conf is $HOME/.bitcoin/bitcoin.conf
Under windows, the default path for bitcoin.conf is% APPDATA%\ bitcoin\ bitcoin.conf
Under mac, the default path for bitcoin.conf is $HOME/Library/Application Support/Bitcoin/bitcoin.conf
By default, bitcoind does not automatically create the bitcoin.conf configuration file under the above path, so you need to make a copy and put it in the above directory. If you don't have a ready-made configuration file available, you can copy one from github: bitcoin.conf.
2. Bitcoin.conf configuration instructions
In the bitcoin.conf configuration file, each line declares configuration items and values in the form of key=value, with comments after #.
2.1 overall configuration
Testnet: connect to the main network or test network:
Testnet=0 # 0-main Network 1-Test Network
Regtest: whether to run in private chain mode
Regtest=0 # 0-No 1-Yes
Proxy: whether to use the socks5 proxy or not
# proxy=127.0.0.1:9050 # disabled by default
Bind: local listening address
# bind= # comment this line to use the default listening address
Whitebind: local whitelist listening address
# whitebind= # comment this line to use the default listening address
Addnode: add seed nod
# addnode=69.164.218.197 # multiple can be added
Connect: address of the connection node
# connect=69.164.218.197
Listen: whether to enter listening mode is enabled by default, unless connect configuration is used
# listen=1
Maxconnections: maximum inbound / outbound connections
# maxconnections=2.2 RPC configuration
Server: whether to start the JSON-RPC interface
# server=0 # 0-do not start 1-start
The listening address of the rpcbind:rpc interface, which is bound to all IP by default
# rpcbind=
Listening port of the rpcport:rpc interface
# rpcport=8332
Access user name of the rpcuser:rpc interface
# rpcuser=alice#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
Number of seconds the rpcclienttimeout:rpc client timed out
# rpcclienttimeout=30
Rpcallowip:rpc access whitelist
# rpcallowip=1.2.3.4/24
Default connection address for rpcconnect:bitcoin-cli
# rpcconnect=127.0.0.12.3 wallet configuration
Txconfirmtarget: minimum number of confirmations for transactions. Default is 6.
# txconfirmtarget=n
Paytxfee: transaction fee for each Bitcoin sent
Paytxfee=0.000x2.4 other configuration
Keypool: key pool size
# keypool=100
Prune: the number of pruning retained. Historical blocks exceeding this number will be deleted from memory.
# prune=5502.5 user interface options
Min: whether to minimize after startup
# min=1
Minimizetotray: whether to minimize to the system tray
# minimizetotray=13, sample bitcoin.conf file
Note that in the following configuration file, the options have been commented, and you need to uncomment and set the corresponding values according to your own situation:
# testnet=0#regtest=0#proxy=127.0.0.1:9050#bind=#whitebind=#addnode=69.164.218.197#addnode=10.0.0.2:8333#connect=69.164.218.197#listen=1#maxconnections=#server=0#rpcbind=#rpcuser=alice#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=#rpcclienttimeout=30#rpcallowip=10.1.1.34/255.255.255.0#rpcallowip=1.2.3.4/24#rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96#rpcport=8332#rpcconnect=127 .0.0.1 # txconfirmtarget=n#paytxfee=0.000x#keypool=100#prune=550#min=1#minimizetotray=1 "how to configure bitcoin.conf" ends here Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
1. Create basic view 2, create role 3, create employee supplier company code view
© 2024 shulou.com SLNews company. All rights reserved.