diff --git a/.gitignore b/.gitignore index 5cce60f053d0a686797ba2096e58fd66272812c9..8ab0fc9022283545188a71996e0f9dc62d093342 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ */lastseen */node* */status +cache +*/cache diff --git a/README.md b/README.md index 7c4fa9551e2b188750421968599e77691cfdddb5..75803eef4520b2deaf4a59a68fb53f9b5bead06c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ 12. `verify.sh "I'm doing great today."` 13. Try the basic `explorer.sh` 14. consider this crontab: @reboot bfa/network5445/start.sh -15. Have a look at walker.pl +15. Try out walker.pl ## start.sh requires: **geth** @@ -54,4 +54,4 @@ Simple script to look at blocks The initial Timestamp service. Could be made better. ## walker.pl -requires: **geth**, **perl** +requires: **geth**, **perl**, __(libjson-perl)__ diff --git a/bin/start.sh b/bin/start.sh index fe56882404d05cb966ee601dcb7a52a05263bd3e..f7631c842f3a64eb0407f5d34e526101092148ae 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -45,4 +45,9 @@ bfaconfig max --cache 512 \ --verbosity 3 ) 2>&1 | - ${BFAHOME}/bin/log.sh ${BFANODEDIR}/log + ${BFAHOME}/bin/log.sh ${BFANODEDIR}/log & +if [ -t 1 ] +then + echo Logging everything to ${BFANODEDIR}/log + echo Consider running: tail -F ${BFANODEDIR}/log +fi diff --git a/doc/compiling-geth-on-debian.md b/doc/compiling-geth-on-debian.md index 625bb301a332ab612353d5aabd58a795e61132f7..f00cb3aa147cc08762c75cb040c52ab38fcad5c6 100644 --- a/doc/compiling-geth-on-debian.md +++ b/doc/compiling-geth-on-debian.md @@ -3,9 +3,9 @@ ## Prerequisites 1. `mkdir ~/new ~/bin` -2. ` cd ~/new` -3. ` sudo apt install build-essential git` -4. ` git clone https://github.com/ethereum/go-ethereum` +2. `cd ~/new` +3. `sudo apt install build-essential git libjson-perl` +4. `git clone https://github.com/ethereum/go-ethereum` ## Compiling Go itself (takes less than 5 minutes) diff --git a/doc/installing-geth-on-ubuntu.md b/doc/installing-geth-on-ubuntu.md index 96351d6c2b692e8bfb75c3a6d06ce7e45459bbbd..050ae22d7f7221165fe516e291bcd2e0d6b0b157 100644 --- a/doc/installing-geth-on-ubuntu.md +++ b/doc/installing-geth-on-ubuntu.md @@ -1,5 +1,5 @@ $ `su` -# `apt install software-properties-common` +# `apt install software-properties-common libjson-perl` # `add-apt-repository -y ppa:ethereum/ethereum` # `apt update` # `apt install ethereum`