From 37e42f20c40ab10d47e67c2826ede6842af6dfa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?22388o=E2=9A=A1=EF=B8=8F?= <83122757+22388o@users.noreply.github.com> Date: Mon, 1 Apr 2024 06:18:41 -0300 Subject: [PATCH] Create default.conf --- src/bitcoind/default.conf | 72 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/bitcoind/default.conf diff --git a/src/bitcoind/default.conf b/src/bitcoind/default.conf new file mode 100644 index 0000000..9c9ab51 --- /dev/null +++ b/src/bitcoind/default.conf @@ -0,0 +1,72 @@ +# bitcoin.conf for LL + +# 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 +mainnet=1 +signet=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