From de1126bbe06c30b23b7894c6613200a20469256e Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sat, 7 Mar 2020 21:52:52 -0600 Subject: [PATCH] Tweak BTC for a bit less memory usage --- rootfs/debian/usr/share/mynode/bitcoin.conf | 6 +----- rootfs/raspi3/usr/share/mynode/bitcoin.conf | 4 ---- rootfs/raspi4/usr/share/mynode/bitcoin.conf | 6 +----- rootfs/rockpro64/usr/share/mynode/bitcoin.conf | 6 +----- rootfs/standard/usr/share/mynode/bitcoin.conf | 6 +----- 5 files changed, 4 insertions(+), 24 deletions(-) diff --git a/rootfs/debian/usr/share/mynode/bitcoin.conf b/rootfs/debian/usr/share/mynode/bitcoin.conf index 6cc53a04..774b5b49 100644 --- a/rootfs/debian/usr/share/mynode/bitcoin.conf +++ b/rootfs/debian/usr/share/mynode/bitcoin.conf @@ -12,10 +12,6 @@ daemon=1 txindex=1 # Connection settings -#rpcuser=mynode -# This password was randomly generated by your device. Changing it may cause problems. -#rpcpassword=bolt - rpcauth=mynode:7b7e11c032ddd3fc3835e4e463afd305$6c6a32bbd08cb1b67b5ea89b66865c5ca2bf6fd8a91a19d6a4d58157fe0882b4 rpcport=8332 @@ -30,7 +26,7 @@ zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 # myNode Optimizations -dbcache=1700 +dbcache=1500 maxorphantx=10 maxmempool=400 maxconnections=40 diff --git a/rootfs/raspi3/usr/share/mynode/bitcoin.conf b/rootfs/raspi3/usr/share/mynode/bitcoin.conf index a3d24cd8..39465b31 100644 --- a/rootfs/raspi3/usr/share/mynode/bitcoin.conf +++ b/rootfs/raspi3/usr/share/mynode/bitcoin.conf @@ -12,10 +12,6 @@ daemon=1 txindex=1 # Connection settings -#rpcuser=mynode -# This password was randomly generated by your device. Changing it may cause problems. -#rpcpassword=bolt - rpcauth=mynode:7b7e11c032ddd3fc3835e4e463afd305$6c6a32bbd08cb1b67b5ea89b66865c5ca2bf6fd8a91a19d6a4d58157fe0882b4 rpcport=8332 diff --git a/rootfs/raspi4/usr/share/mynode/bitcoin.conf b/rootfs/raspi4/usr/share/mynode/bitcoin.conf index 5c88260a..3a675913 100644 --- a/rootfs/raspi4/usr/share/mynode/bitcoin.conf +++ b/rootfs/raspi4/usr/share/mynode/bitcoin.conf @@ -12,10 +12,6 @@ daemon=1 txindex=1 # Connection settings -#rpcuser=mynode -# This password was randomly generated by your device. Changing it may cause problems. -#rpcpassword=bolt - rpcauth=mynode:7b7e11c032ddd3fc3835e4e463afd305$6c6a32bbd08cb1b67b5ea89b66865c5ca2bf6fd8a91a19d6a4d58157fe0882b4 rpcport=8332 @@ -30,7 +26,7 @@ zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 # myNode Optimizations -dbcache=770 +dbcache=700 maxorphantx=10 maxmempool=200 maxconnections=40 diff --git a/rootfs/rockpro64/usr/share/mynode/bitcoin.conf b/rootfs/rockpro64/usr/share/mynode/bitcoin.conf index 5bece790..89384bd7 100644 --- a/rootfs/rockpro64/usr/share/mynode/bitcoin.conf +++ b/rootfs/rockpro64/usr/share/mynode/bitcoin.conf @@ -12,10 +12,6 @@ daemon=1 txindex=1 # Connection settings -#rpcuser=mynode -# This password was randomly generated by your device. Changing it may cause problems. -#rpcpassword=bolt - rpcauth=mynode:7b7e11c032ddd3fc3835e4e463afd305$6c6a32bbd08cb1b67b5ea89b66865c5ca2bf6fd8a91a19d6a4d58157fe0882b4 rpcport=8332 @@ -30,7 +26,7 @@ zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 # myNode Optimizations -dbcache=1700 +dbcache=1500 maxorphantx=10 maxmempool=200 maxconnections=40 diff --git a/rootfs/standard/usr/share/mynode/bitcoin.conf b/rootfs/standard/usr/share/mynode/bitcoin.conf index d4561ecf..fe885c9d 100644 --- a/rootfs/standard/usr/share/mynode/bitcoin.conf +++ b/rootfs/standard/usr/share/mynode/bitcoin.conf @@ -12,10 +12,6 @@ daemon=1 txindex=1 # Connection settings -#rpcuser=mynode -# This password was randomly generated by your device. Changing it may cause problems. -#rpcpassword=bolt - rpcauth=mynode:7b7e11c032ddd3fc3835e4e463afd305$6c6a32bbd08cb1b67b5ea89b66865c5ca2bf6fd8a91a19d6a4d58157fe0882b4 rpcport=8332 @@ -30,7 +26,7 @@ zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 # myNode Optimizations -dbcache=770 +dbcache=700 maxorphantx=10 maxmempool=200 maxconnections=40