From 06b516386a26518545f53a29aa8b9701e5a36d5d Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Mon, 25 Jan 2021 18:27:15 -0600 Subject: [PATCH] More accurate RPC and bloom filters --- rootfs/debian/usr/share/mynode/bitcoin.conf | 8 ++++---- rootfs/raspi3/usr/share/mynode/bitcoin.conf | 8 ++++---- rootfs/raspi4/usr/share/mynode/bitcoin.conf | 8 ++++---- rootfs/rockpro64/usr/share/mynode/bitcoin.conf | 8 ++++---- rootfs/standard/usr/share/mynode/bitcoin.conf | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/rootfs/debian/usr/share/mynode/bitcoin.conf b/rootfs/debian/usr/share/mynode/bitcoin.conf index 291a4901..22dd44f7 100644 --- a/rootfs/debian/usr/share/mynode/bitcoin.conf +++ b/rootfs/debian/usr/share/mynode/bitcoin.conf @@ -18,14 +18,14 @@ rpcport=8332 rpcbind=0.0.0.0 rpcallowip=127.0.0.1 rpcallowip=10.0.0.0/8 -rpcallowip=172.0.0.0/8 -rpcallowip=192.0.0.0/8 +rpcallowip=172.16.0.0/12 +rpcallowip=192.168.0.0/16 # Enable Bloom 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 +whitelist=bloomfilter@172.16.0.0/12 +whitelist=bloomfilter@192.168.0.0/16 zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 diff --git a/rootfs/raspi3/usr/share/mynode/bitcoin.conf b/rootfs/raspi3/usr/share/mynode/bitcoin.conf index 2a17351f..b39464f3 100644 --- a/rootfs/raspi3/usr/share/mynode/bitcoin.conf +++ b/rootfs/raspi3/usr/share/mynode/bitcoin.conf @@ -18,14 +18,14 @@ rpcport=8332 rpcbind=0.0.0.0 rpcallowip=127.0.0.1 rpcallowip=10.0.0.0/8 -rpcallowip=172.0.0.0/8 -rpcallowip=192.0.0.0/8 +rpcallowip=172.16.0.0/12 +rpcallowip=192.168.0.0/16 # Enable Bloom 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 +whitelist=bloomfilter@172.16.0.0/12 +whitelist=bloomfilter@192.168.0.0/16 zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 diff --git a/rootfs/raspi4/usr/share/mynode/bitcoin.conf b/rootfs/raspi4/usr/share/mynode/bitcoin.conf index b433e78d..d4a2b25f 100644 --- a/rootfs/raspi4/usr/share/mynode/bitcoin.conf +++ b/rootfs/raspi4/usr/share/mynode/bitcoin.conf @@ -18,14 +18,14 @@ rpcport=8332 rpcbind=0.0.0.0 rpcallowip=127.0.0.1 rpcallowip=10.0.0.0/8 -rpcallowip=172.0.0.0/8 -rpcallowip=192.0.0.0/8 +rpcallowip=172.16.0.0/12 +rpcallowip=192.168.0.0/16 # Enable Bloom 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 +whitelist=bloomfilter@172.16.0.0/12 +whitelist=bloomfilter@192.168.0.0/16 zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 diff --git a/rootfs/rockpro64/usr/share/mynode/bitcoin.conf b/rootfs/rockpro64/usr/share/mynode/bitcoin.conf index 21b05761..da087375 100644 --- a/rootfs/rockpro64/usr/share/mynode/bitcoin.conf +++ b/rootfs/rockpro64/usr/share/mynode/bitcoin.conf @@ -18,14 +18,14 @@ rpcport=8332 rpcbind=0.0.0.0 rpcallowip=127.0.0.1 rpcallowip=10.0.0.0/8 -rpcallowip=172.0.0.0/8 -rpcallowip=192.0.0.0/8 +rpcallowip=172.16.0.0/12 +rpcallowip=192.168.0.0/16 # Enable Bloom 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 +whitelist=bloomfilter@172.16.0.0/12 +whitelist=bloomfilter@192.168.0.0/16 zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333 diff --git a/rootfs/standard/usr/share/mynode/bitcoin.conf b/rootfs/standard/usr/share/mynode/bitcoin.conf index fb873c55..eeaeb869 100644 --- a/rootfs/standard/usr/share/mynode/bitcoin.conf +++ b/rootfs/standard/usr/share/mynode/bitcoin.conf @@ -15,8 +15,8 @@ rpcport=8332 rpcbind=0.0.0.0 rpcallowip=127.0.0.1 rpcallowip=10.0.0.0/8 -rpcallowip=172.0.0.0/8 -rpcallowip=192.0.0.0/8 +rpcallowip=172.16.0.0/12 +rpcallowip=192.168.0.0/16 # Set default wallet so some wallet APIs work main.wallet=wallet.dat @@ -24,8 +24,8 @@ main.wallet=wallet.dat # Enable Bloom 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 +whitelist=bloomfilter@172.16.0.0/12 +whitelist=bloomfilter@192.168.0.0/16 zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28333