-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|