From 8dd88b8454f49bcf4361f9574fa81bba9605996f Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Tue, 26 May 2020 20:19:22 -0500 Subject: [PATCH] Enable bloom filters --- rootfs/debian/usr/share/mynode/bitcoin.conf | 6 ++++++ rootfs/raspi4/usr/share/mynode/bitcoin.conf | 6 ++++++ rootfs/rockpro64/usr/share/mynode/bitcoin.conf | 6 ++++++ rootfs/standard/usr/share/mynode/bitcoin.conf | 8 +++++++- 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/rootfs/debian/usr/share/mynode/bitcoin.conf b/rootfs/debian/usr/share/mynode/bitcoin.conf index 774b5b49..bdce8061 100644 --- a/rootfs/debian/usr/share/mynode/bitcoin.conf +++ b/rootfs/debian/usr/share/mynode/bitcoin.conf @@ -21,6 +21,12 @@ rpcallowip=10.0.0.0/8 rpcallowip=172.0.0.0/8 rpcallowip=192.0.0.0/8 +# Enable Blook filters +whitelist=bloomfilter@127.0.0.1 +whitelist=bloomfilter@10.0.0.0/8 +whitelist=bloomfilter@172.0.0.0/8 +whitelist=bloomfilter@192.0.0.0/8 + zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 diff --git a/rootfs/raspi4/usr/share/mynode/bitcoin.conf b/rootfs/raspi4/usr/share/mynode/bitcoin.conf index d16e34dd..a26cd94e 100644 --- a/rootfs/raspi4/usr/share/mynode/bitcoin.conf +++ b/rootfs/raspi4/usr/share/mynode/bitcoin.conf @@ -21,6 +21,12 @@ rpcallowip=10.0.0.0/8 rpcallowip=172.0.0.0/8 rpcallowip=192.0.0.0/8 +# Enable Blook filters +whitelist=bloomfilter@127.0.0.1 +whitelist=bloomfilter@10.0.0.0/8 +whitelist=bloomfilter@172.0.0.0/8 +whitelist=bloomfilter@192.0.0.0/8 + zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 diff --git a/rootfs/rockpro64/usr/share/mynode/bitcoin.conf b/rootfs/rockpro64/usr/share/mynode/bitcoin.conf index 89384bd7..71c11039 100644 --- a/rootfs/rockpro64/usr/share/mynode/bitcoin.conf +++ b/rootfs/rockpro64/usr/share/mynode/bitcoin.conf @@ -21,6 +21,12 @@ rpcallowip=10.0.0.0/8 rpcallowip=172.0.0.0/8 rpcallowip=192.0.0.0/8 +# Enable Blook filters +whitelist=bloomfilter@127.0.0.1 +whitelist=bloomfilter@10.0.0.0/8 +whitelist=bloomfilter@172.0.0.0/8 +whitelist=bloomfilter@192.0.0.0/8 + zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 diff --git a/rootfs/standard/usr/share/mynode/bitcoin.conf b/rootfs/standard/usr/share/mynode/bitcoin.conf index cf8dbb8c..e28cac28 100644 --- a/rootfs/standard/usr/share/mynode/bitcoin.conf +++ b/rootfs/standard/usr/share/mynode/bitcoin.conf @@ -18,12 +18,18 @@ rpcallowip=10.0.0.0/8 rpcallowip=172.0.0.0/8 rpcallowip=192.0.0.0/8 +# Enable Blook filters +whitelist=bloomfilter@127.0.0.1 +whitelist=bloomfilter@10.0.0.0/8 +whitelist=bloomfilter@172.0.0.0/8 +whitelist=bloomfilter@192.0.0.0/8 + zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 zmqpubhashblock=tcp://0.0.0.0:28334 # myNode Optimizations -dbcache=700 +dbcache=500 maxorphantx=10 maxmempool=200 maxconnections=40