diff --git a/electrs/electrs_install_on_RaspiBlitz.sh b/electrs/electrs_install_on_RaspiBlitz.sh index f61ea0d..e469630 100644 --- a/electrs/electrs_install_on_RaspiBlitz.sh +++ b/electrs/electrs_install_on_RaspiBlitz.sh @@ -15,7 +15,7 @@ sudo apt install -y clang cmake # for building 'rust-rocksdb' echo "" echo "***" -echo "Downloading and building electrs. This will take ~30 minutes" # ~ 33 min on an Odroid HC1 +echo "Downloading and building electrs. This will take ~30 minutes" # ~22 min on an Odroid XU4 echo "***" echo "" git clone https://github.com/romanz/electrs diff --git a/electrs/electrum_install_config_and_run.sh b/electrs/electrum_install_config_and_run.sh index f1530c1..719d461 100644 --- a/electrs/electrum_install_config_and_run.sh +++ b/electrs/electrum_install_config_and_run.sh @@ -7,11 +7,12 @@ # https://electrum.org/#download # Install dependencies: -sudo apt-get install python3-pyqt5 +sudo apt-get install -y python3-pyqt5 # Download package: wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz #Verify signature: +https://raw.githubusercontent.com/spesmilo/electrum/master/pubkeys/ThomasV.asc gpg --import ThomasV.asc wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz.asc verifyResult=$(gpg --verify Electrum-3.3.4.tar.gz.asc 2>&1) @@ -26,9 +27,12 @@ fi # Run without installing: tar -xvf Electrum-3.3.4.tar.gz # python3 Electrum-3.3.4/run_electrum # Install with PIP: -sudo apt-get install python3-setuptools python3-pip +sudo apt-get install -y python3-setuptools python3-pip python3 -m pip install --user Electrum-3.3.4.tar.gz[fast] +# add install dir to PATH +PATH=$PATH:~/.local/bin/ + echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER]:" read PASSWORD_B echo "Type the LAN IP ADDRESS of your RaspiBlitz followed by [ENTER]:"