mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 10:28:58 +01:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b87e73c89c | ||
|
|
8b1a4b3939 | ||
|
|
7b75f66aeb | ||
|
|
1b2fcf48ee | ||
|
|
f771465338 | ||
|
|
fd2d369264 | ||
|
|
b55616ce87 | ||
|
|
e833fd42a6 | ||
|
|
45df8b3e72 | ||
|
|
a64e31f725 | ||
|
|
7c91ee99a7 | ||
|
|
d37eebdd96 | ||
|
|
c5def56588 | ||
|
|
7013a78472 |
14
CHANGES.md
14
CHANGES.md
@@ -2,9 +2,7 @@
|
||||
|
||||
Optimized now to run also on plain debian12 linux for Proxmox/VM & x86 systems.
|
||||
|
||||
Download Release Candidate - RaspberryPi minimal image:
|
||||
https://raspiblitz.fulmo.org/images/raspiblitz-min-v1.11.3rc2-2024-10-08.img.gz
|
||||
SHA-256-Checksum: a20e92b1d99c0dcc6fa6aa83f8212df6a0db8ae47616cc3b565c0f88f35c2457
|
||||
Containing Features:
|
||||
|
||||
- New: Publicpool - Open Source Solo Bitcoin Mining (SSH Menu) [details](https://www.youtube.com/watch?v=QbOsH04Z9xM)
|
||||
- New: Tailscale (SSH menu > SETTINGS) [details](https://en.wikipedia.org/wiki/Tailscale)
|
||||
@@ -23,6 +21,16 @@ SHA-256-Checksum: a20e92b1d99c0dcc6fa6aa83f8212df6a0db8ae47616cc3b565c0f88f35c24
|
||||
- Update: CLBOSS 0.13.3 [details](https://github.com/ZmnSCPxj/clboss/releases/tag/v0.13.3)
|
||||
- Update: Electrum Server in Rust (electrs) v0.10.6 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#0106-sep-29-2024)
|
||||
|
||||
Download RaspberryPi images:
|
||||
|
||||
- Minimal:
|
||||
https://raspiblitz.fulmo.org/images/raspiblitz-min-v1.11.3-2024-11-03.img.gz
|
||||
SHA-256-Checksum: 199fd4e671a49feb39420156031201c9118121d33ec6f9990fb9724de5be02c4
|
||||
|
||||
- Fatpack:
|
||||
https://raspiblitz.fulmo.org/images/raspiblitz-fat-v1.11.3-2024-11-03.img.gz
|
||||
SHA-256-Checksum: 65e523562768b21dcda85b96003c559a665015889402a3cea27638e6c5e290bd
|
||||
|
||||
## What's new in Version 1.11.2 of RaspiBlitz?
|
||||
|
||||
This is just a quick patch release for v1.11.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 
|
||||
|
||||
_Build your own Bitcoin & Lightning Fullnode on a RaspberryPi with an optional Display._
|
||||
_Build your own Bitcoin & Lightning Fullnode on a RaspberryPi with an optional Display._ ([API](https://github.com/fusion44/blitz_api)|[WebUI](https://github.com/raspiblitz/raspiblitz-web))
|
||||
|
||||

|
||||
|
||||
@@ -35,4 +35,4 @@ This is main RaspiBlitz repo containing the **bash & python** scripts to build t
|
||||
- [API](https://github.com/fusion44/blitz_api) (Python FastAPI)
|
||||
- [Documentation](https://github.com/raspiblitz/raspiblitz-docs) (Docusaurus)
|
||||
|
||||
To get started with RaspiBlitz Development check the [Community Development](CONTRIBUTING.md) notes.
|
||||
To get started with RaspiBlitz Development check the [Community Development](CONTRIBUTING.md) notes.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -35,17 +35,6 @@ elif [ -d /boot ]; then
|
||||
fi
|
||||
echo "# raspi_bootdir(${raspi_bootdir})"
|
||||
|
||||
# install BTRFS if needed
|
||||
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
||||
if [ ${btrfsInstalled} -eq 0 ]; then
|
||||
>&2 echo "# Installing BTRFS ..."
|
||||
apt-get install -y btrfs-progs 1>/dev/null
|
||||
fi
|
||||
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
||||
if [ ${btrfsInstalled} -eq 0 ]; then
|
||||
echo "error='missing btrfs package'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# install smartmontools if needed
|
||||
smartmontoolsInstalled=$(apt-cache policy smartmontools | grep -c 'Installed: (none)' | grep -c "0")
|
||||
@@ -66,14 +55,41 @@ fi
|
||||
# gathering system info
|
||||
# is global so that also other parts of this script can use this
|
||||
|
||||
# check if a btrfs filesystem is available
|
||||
# basics
|
||||
isMounted=$(df | grep -c /mnt/hdd)
|
||||
isBTRFS=$(btrfs filesystem show 2>/dev/null| grep -c 'BLITZSTORAGE')
|
||||
isRaid=$(btrfs filesystem df /mnt/hdd 2>/dev/null | grep -c "Data, RAID1")
|
||||
isZFS=$(zfs list 2>/dev/null | grep -c "/mnt/hdd")
|
||||
isBTRFS="0"
|
||||
isRaid="0"
|
||||
isZFS="0"
|
||||
isSSD="0"
|
||||
isSMART="0"
|
||||
|
||||
# BTRFS extras
|
||||
btrfsConnected=$(lsblk -f | grep -c btrfs)
|
||||
if [ ${btrfsConnected} -gt 0 ]; then
|
||||
|
||||
# install BTRFS if needed
|
||||
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
||||
if [ ${btrfsInstalled} -eq 0 ]; then
|
||||
>&2 echo "# Installing BTRFS ..."
|
||||
apt-get install -y btrfs-progs 1>/dev/null
|
||||
fi
|
||||
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
||||
if [ ${btrfsInstalled} -eq 0 ]; then
|
||||
echo "error='missing btrfs package'"
|
||||
exit 1
|
||||
fi
|
||||
isBTRFS=$(btrfs filesystem show 2>/dev/null| grep -c 'BLITZSTORAGE')
|
||||
isRaid=$(btrfs filesystem df /mnt/hdd 2>/dev/null | grep -c "Data, RAID1")
|
||||
|
||||
fi
|
||||
|
||||
# ZFS extras
|
||||
zfsConnected=$(lsblk -f | grep -c zfs)
|
||||
if [ ${zfsConnected} -gt 0 ]; then
|
||||
isZFS=$(zfs list 2>/dev/null | grep -c "/mnt/hdd")
|
||||
fi
|
||||
|
||||
# determine if swap is external on or not
|
||||
externalSwapPath="/mnt/hdd/swapfile"
|
||||
if [ ${isBTRFS} -eq 1 ]; then
|
||||
@@ -656,6 +672,8 @@ if [ "$1" = "format" ]; then
|
||||
# check valid format
|
||||
if [ "$2" = "btrfs" ]; then
|
||||
>&2 echo "# DATA DRIVE - FORMATTING to BTRFS layout (new)"
|
||||
# check if btrfs-tools are installed
|
||||
apt-get install -y btrfs-progs 1>/dev/null
|
||||
elif [ "$2" = "ext4" ]; then
|
||||
>&2 echo "# DATA DRIVE - FORMATTING to EXT4 layout (old)"
|
||||
else
|
||||
|
||||
@@ -487,9 +487,23 @@ if [ "$1" = "install" ]; then
|
||||
echo "# Install NBXplorer $NBXplorerVersion"
|
||||
cd /home/btcpay || exit 1
|
||||
echo "# Download the NBXplorer source code $NBXplorerVersion"
|
||||
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
|
||||
cd NBXplorer || exit 1
|
||||
sudo -u btcpay git reset --hard $NBXplorerVersion
|
||||
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git
|
||||
if [ ! -d "/home/btcpay/NBXplorer" ]; then
|
||||
echo "# FAIL! on first git clone - retrying with snapshot download."
|
||||
sudo -u btcpay curl -L https://github.com/dgarage/NBXplorer/archive/refs/tags/$NBXplorerVersion.tar.gz -o NBXplorer.tar.gz
|
||||
sudo -u btcpay tar -xzvf NBXplorer.tar.gz
|
||||
sudo -u btcpay mv NBXplorer-* NBXplorer
|
||||
if [ ! -d "/home/btcpay/NBXplorer" ]; then
|
||||
echo "# FAIL! also on second git clone of NBXplorer - uninstall & exiting."
|
||||
/home/admin/config.scripts/bonus.btcpayserver.sh uninstall
|
||||
exit 1
|
||||
fi
|
||||
cd NBXplorer
|
||||
else
|
||||
echo "# OK - git clone of NBXplorer successful."
|
||||
cd NBXplorer
|
||||
sudo -u btcpay git reset --hard $NBXplorerVersion
|
||||
fi
|
||||
# PGP verify
|
||||
NBXPGPsigner="nicolasdorier"
|
||||
NBXPGPpubkeyLink="https://keybase.io/nicolasdorier/pgp_keys.asc"
|
||||
@@ -515,7 +529,6 @@ if [ "$1" = "install" ]; then
|
||||
# from the build.sh with path
|
||||
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release \
|
||||
/home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj || exit 1
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
@@ -105,6 +105,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
# check that the repos were cloned
|
||||
if [ ! -d "/home/${APPID}/${APPID}" ] || [ ! -d "/home/${APPID}/${APPID}-ui" ]; then
|
||||
echo "# FAIL - Was not able to clone the GitHub repos."
|
||||
echo "# running uninstall script to clean up"
|
||||
/home/admin/config.scripts/bonus.publicpool.sh off
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -163,8 +165,8 @@ API_SECURE=false
|
||||
echo "
|
||||
[Unit]
|
||||
Description=${APPID}
|
||||
Wants=bitcoind
|
||||
After=bitcoind
|
||||
Wants=bitcoind.service
|
||||
After=bitcoind.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/${APPID}/${APPID}
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
lndVersion="0.17.5-beta"
|
||||
|
||||
# olaoluwa
|
||||
PGPauthor="roasbeef"
|
||||
PGPpkeys="https://keybase.io/roasbeef/pgp_keys.asc"
|
||||
PGPcheck="E4D85299674B2D31FAA1892E372CBD7633C61696"
|
||||
# PGPauthor="roasbeef"
|
||||
# PGPpkeys="https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/roasbeef.asc"
|
||||
# PGPcheck="A5B61896952D9FDA83BC054CDC42612E89237182"
|
||||
|
||||
# guggero
|
||||
# PGPauthor="guggero"
|
||||
# PGPpkeys="https://keybase.io/guggero/pgp_keys.asc"
|
||||
# PGPcheck="F4FC70F07310028424EFC20A8E4256593F177720"
|
||||
PGPauthor="guggero"
|
||||
PGPpkeys="https://keybase.io/guggero/pgp_keys.asc"
|
||||
PGPcheck="F4FC70F07310028424EFC20A8E4256593F177720"
|
||||
|
||||
# bitconner
|
||||
#PGPauthor="bitconner"
|
||||
|
||||
Reference in New Issue
Block a user