Whats the best configuration for knots ? #137
thmsmullee
started this conversation in
General
Replies: 3 comments 3 replies
-
|
I would like to know the same thing. bitcoin.conf seems to be a black art. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This means 546 BTC per kvB... Nobody is going to pay fees anywhere close to that.
This disables your mempool entirely. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Here is an example # --- Basic behavior ---
server=1 # Enable JSON-RPC server (needed to interact with the node via CLI or apps)
listen=0 # Do not accept inbound peer connections (outbound only)
discover=0 # Do not advertise local addresses to peers (extra privacy)
upnp=0 # Disable UPnP port mapping (prevents automatic router exposure)
maxconnections=12 # Limit total peer connections (default is higher; this reduces resource usage)
blocksonly=1 # Only accept/relay block data, not transactions (saves bandwidth, extra privacy)
# --- Networking / Tor-only mode ---
onlynet=onion # Only connect to peers over Tor (.onion addresses)
proxy=127.0.0.1:9050 # Use local Tor daemon as proxy
dnsseed=0 # Disable DNS seeding for peer discovery (avoids leaking queries outside Tor)
# --- Resource usage ---
dbcache=4096 # Database cache size in MB (improves performance if you have RAM available)
par=3 # Use 3 script verification threads (parallel validation, balances CPU load)
maxmempool=150 # Limit mempool size to 150 MB (prevents RAM overuse by unconfirmed txs)
# --- Miscellaneous ---
softwareexpiry=0 # Disable software auto-expiry warnings (useful if running long-term) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have following configuration, but my mempool is empty, no transactions are beeing relayed:
datacarrier=1
datacarriersize=42
permitbaremultisig=0
rejectunknownscripts=1
rejectparasites=1
txreconciliation=1
dustrelayfee=546
rejectnonstdoutputs=1
#minrelaytxfee=0.00000500
rejectabsurdfee=1
blocksonly=1
Beta Was this translation helpful? Give feedback.
All reactions