Shrink mempool by 50M on 4GB devices (mempool created duplicate copy)

This commit is contained in:
Taylor Helsper 2021-04-15 20:31:11 -05:00
parent 80cf90e8d7
commit bb2009c019

View File

@ -30,7 +30,7 @@ else
sed -i "s/maxmempool=.*/maxmempool=150/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
elif [ "$TOTAL_RAM_GB" -le "4" ]; then
sed -i "s/dbcache=.*/dbcache=1000/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
sed -i "s/maxmempool=.*/maxmempool=300/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
sed -i "s/maxmempool=.*/maxmempool=250/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
elif [ "$TOTAL_RAM_GB" -le "6" ]; then
sed -i "s/dbcache=.*/dbcache=2000/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
sed -i "s/maxmempool=.*/maxmempool=400/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf