diff --git a/rootfs/debian/usr/share/mynode/bitcoin.conf b/rootfs/debian/usr/share/mynode/bitcoin.conf index 3e58868a..dca7e6e8 100644 --- a/rootfs/debian/usr/share/mynode/bitcoin.conf +++ b/rootfs/debian/usr/share/mynode/bitcoin.conf @@ -26,9 +26,9 @@ zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28333 # myNode Optimizations -dbcache=1000 +dbcache=1500 maxorphantx=10 -maxmempool=200 +maxmempool=400 maxconnections=40 maxuploadtarget=1000 diff --git a/rootfs/standard/usr/bin/mynode_startup.sh b/rootfs/standard/usr/bin/mynode_startup.sh index b3547f9b..ade66c33 100755 --- a/rootfs/standard/usr/bin/mynode_startup.sh +++ b/rootfs/standard/usr/bin/mynode_startup.sh @@ -15,6 +15,11 @@ fi for dev in /sys/bus/usb/devices/*/power/control; do echo "on" > $dev; done +# Verify SD card permissions and folders are OK +mkdir -p /home/admin/.config/ +chown -R admin:admin /home/admin/.config/ + + # Expand Root FS mkdir -p /var/lib/mynode @@ -226,7 +231,6 @@ if [ "$USER" != "bitcoin" ]; then fi chown bitcoin:bitcoin /mnt/hdd/ chown bitcoin:bitcoin /mnt/hdd/mynode/ -chown -R admin:admin /home/admin/.config/ # Setup swap on new HDD