From 851cfc0e6fee876c68105f30f5139484ed680bbc Mon Sep 17 00:00:00 2001 From: kexkey Date: Fri, 28 Aug 2020 12:50:36 -0400 Subject: [PATCH] Added fallbackfee for testnet and regtest and logrotate sample for logs --- contrib/etc/logrotate.d/cyphernode | 11 +++++++++++ cyphernodeconf_docker/templates/bitcoin/bitcoin.conf | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 contrib/etc/logrotate.d/cyphernode diff --git a/contrib/etc/logrotate.d/cyphernode b/contrib/etc/logrotate.d/cyphernode new file mode 100644 index 0000000..3abcf39 --- /dev/null +++ b/contrib/etc/logrotate.d/cyphernode @@ -0,0 +1,11 @@ +# Replace the following path by the path where Cyphernode writes its log files + +/home/debian/.cyphernode/cyphernode/dist/cyphernode/logs/*.log +{ + rotate 7 + daily + missingok + notifempty + delaycompress + compress +} diff --git a/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf b/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf index c91fdda..1c47cc6 100644 --- a/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf +++ b/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf @@ -40,12 +40,14 @@ test.wallet=watching01.dat test.wallet=xpubwatching01.dat test.wallet=spending01.dat test.rpcbind=0.0.0.0 +fallbackfee=0.0002 <% } else if ( net === 'regtest' ) { %> regtest.wallet=watching01.dat regtest.wallet=xpubwatching01.dat regtest.wallet=spending01.dat regtest.rpcbind=0.0.0.0 regtest.rpcport=18443 +fallbackfee=0.0002 <% } else { %> main.wallet=watching01.dat main.wallet=xpubwatching01.dat