Browse Source

copystation fix litecoin

v1.2
Christian Rotzoll 6 years ago
parent
commit
fd567d2f71
  1. 4
      README.md
  2. 13
      home.admin/XXcopyStation.sh
  3. 2
      home.admin/config.scripts/blitz.datadrive.sh

4
README.md

@ -446,6 +446,8 @@ The RTL Webinterface is a LND Control Dashboard you can run in your browser with
![RTL](pictures/RTL-dashboard.png)
Read an Intro-Tutorial to RTL: https://medium.com/@suheb.khan/how-to-ride-the-lightning-447af999dcd2
Feedback is welcome by the RTL programmer: https://github.com/ShahanaFarooqui/RTL
##### LND Auto-Unlock
@ -477,6 +479,8 @@ and [Zeus (iOS/Android)](https://github.com/ZeusLN/zeus) are available.
Please keep in mind that if you also want to connect to your smartphone also from the outside (when you are outside of your local network) with your RaspiBlitz you might need to open/forward ports on your router and should look into the DynamicDNS features to handle changeing IP of our Home-DSL.
This youtube video explains the "port forwarding" on your router in more detail: https://www.youtube.com/watch?v=KESo7hHXQtg
* [How do I shrink the QR code for connecting my Shango/Zap/Zeus mobile phone?](FAQ.md#how-do-i-shrink-the-qr-code-for-connecting-my-shangozap-mobile-phone)
#### EXPORT: Macaroons and TLS.cert

13
home.admin/XXcopyStation.sh

@ -157,17 +157,14 @@ do
if [ ! -d "${pathLitecoinBlockchain}" ]; then
# sync bitcoin
# sync litecoin
echo "Syncing Litecoin ..."
sudo sed -i "s/^message=.*/message='Updating Template: Litecoin'/g" /home/admin/raspiblitz.info 2>/dev/null
echo "creating the litecoin subfolder in the template folder"
mkdir ${pathTemplateHDD}/litecoin 2>/dev/null
chmod 777 ${pathTemplateHDD}/litecoin 2>/dev/null
# make sure the litecoin directory in template folder exists
if [ ! -d "$pathTemplateHDD/litecoin" ]; then
echo "creating the litecoin subfolder in the template folder"
mkdir ${pathTemplateHDD}/litecoin
chmod 777 ${pathTemplateHDD}/litecoin
fi
sudo sed -i "s/^message=.*/message='Updating Template: Litecoin'/g" /home/admin/raspiblitz.info 2>/dev/null
rsync -a --info=progress2 ${pathLitecoinBlockchain}/chainstate ${pathLitecoinBlockchain}/indexes ${pathLitecoinBlockchain}/blocks ${pathTemplateHDD}/litecoin

2
home.admin/config.scripts/blitz.datadrive.sh

@ -105,7 +105,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# mount the BTRFS drive
echo "Mounting under /mnt/data ..."
sudo mkdir -p /mnt/data
sudo mount /dev/${dev1} /mnt/data
sudo mount barrier=1 /dev/${dev1} /mnt/data
echo "OK"
echo ""

Loading…
Cancel
Save