Skip to content

Commit

Permalink
Update default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Rsync25 authored Nov 8, 2023
1 parent 1312b51 commit 143d028
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions bitcoind/default.conf
Original file line number Diff line number Diff line change
@@ -1 +1,71 @@
# bitcoin.conf for DLC Support

# Server settings
server=1
daemon=1
rpcuser=your_rpc_username
rpcpassword=your_rpc_password
rpcport=8332

# Enable testnet for development (remove for mainnet)
testnet=1

# Minimum relay transaction fee (adjust as needed)
minrelaytxfee=0.00001

# Wallet settings (adjust as needed)
walletnotify=/path/to/your/script %s

# Enable raw transaction support (for advanced scripting)
txindex=1

# Enable script verification (required for complex scripts)
checkmempool=1
checkblockindex=1

# Connect to your oracles (replace with actual oracle configurations)
addnode=oracle1_ip:oracle1_port
addnode=oracle2_ip:oracle2_port

# Connect to peers
connect=bitcoin_peer1_ip:bitcoin_peer1_port
connect=bitcoin_peer2_ip:bitcoin_peer2_port

# Custom data directory (optional)
datadir=/path/to/custom/data/directory

# P2P Protocol settings (optional)
maxconnections=125
maxuploadtarget=5000

# Replace with your own custom parameters
# Example: dlcparam=your_custom_parameter

# Miscellaneous settings
prune=550 # Prune the blockchain to save disk space (adjust as needed)
maxmempool=300 # Adjust maximum mempool size

# Log file location and verbosity
debug=1 # Increase for more detailed debugging information
logtimestamps=1
logips=1
logfile=/path/to/your/bitcoin.log

# Enable RPC logging (useful for debugging)
rpcallowip=127.0.0.1
rpcport=18332
rpcworkqueue=100

# Disable certain features (optional)
disablewallet=1 # Disable built-in wallet

# Disable listening for incoming connections (optional)
listen=0

# Security settings (ensure your node is secure)
# rpcbind=0.0.0.0 # Bind RPC to all network interfaces (not recommended for public nodes)

# Enable TLS/SSL for RPC (strongly recommended for security)
# rpccert=/path/to/your/rpc.cert
# rpcssl=1

0 comments on commit 143d028

Please sign in to comment.