Wednesday 22 May 2019

Blockchain - Bitcoin Configuration File (bitcoin.conf)



Bitcoin Configuration File (bitcoin.conf)

This is an example of bitcoin.conf file

#The Same File Can Be Used As BitcoinCash Configuration File
#Use WalletNotify Option To Get Notifications

## bitcoin.conf configuration file
## JSON-RPC options (for controlling a running bitcoin-qt/bitcoind process)
# Bitcoin to accept JSON-RPC commands.
server=1
# How many seconds bitcoin will wait for a complete RPC HTTP request
rpctimeout=30
# Listen for RPC connections on this TCP port:
rpcport=2376
# You can use bitcoind to send commands to bitcoin-qt/bitcoind
rpcconnect=
# Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
#rpcssl=1
# Run on the test network instead of the real bitcoin network.
#testnet=1       
# Do not use Internet Relay Chat to find peers.
noirc=0
# Maximum number of inbound+outbound connections.
#maxconnections=125
# Minimize to the system tray
minimizetotray=0
rpcworkqueue=1000
#use walletnotify option if you want to get transaction hash
#walletnotify= sha.sh

Use WalletNotify Option To Get Notification

walletnotifywill execute every time you either
  • receive bitcoin
  • send bitcoin
  • when a bitcoin gets its first confirmation

bitcoin.conf file location
Ubuntu : /home/<username>/.bitcoin/bitcoin.conf
Windows XP C:\Documents and Settings\<username>\Application Data\Bitcoin\bitcoin.conf
Windows Vista, 7, 10C:\Users\<username>\AppData\Roaming\Bitcoin
Linux /home/<username>/.bitcoin/bitcoin.conf
Mac OSX /Users/<username>/Library/Application Support/Bitcoin/bitcoin.conf
For testnet
testnet=1


No comments:

Post a Comment

Bitnami - For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.

For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname. login into your server using ssh or from ...