mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-17 21:31:45 +01:00
* feat: add BTCPAY-CLN to CONNECT #3155 * docs: record CHANGES
This commit is contained in:
parent
2f361e764a
commit
e93a08be8e
17
CHANGES.md
17
CHANGES.md
@ -6,6 +6,7 @@
|
||||
- New: BackendAPI
|
||||
- New: ZRAM - compressed swap in memory [details](https://github.com/rootzoll/raspiblitz/issues/2905)
|
||||
- New: Core Lightning GRPC plugin [details](https://github.com/rootzoll/raspiblitz/pull/3109)
|
||||
- New: Core Lightning connection to BTCPayServer (CONNECT menu) [details](https://github.com/rootzoll/raspiblitz/issues/3155)
|
||||
- New: Alby (Connection Menu) [details](https://getalby.com/)
|
||||
- New: Homer Dashboard [details](https://github.com/bastienwirtz/homer#readme)
|
||||
- New: ItchySats [details](https://github.com/itchysats/itchysats/)
|
||||
@ -20,7 +21,7 @@
|
||||
- Update: Electrum Server in Rust (electrs) v0.9.7 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#097-apr-30-2022)
|
||||
- Update: BTCPayServer v1.5.4 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.5.4)
|
||||
- Update: Helipad (Podcasting 2.0 Boostagram reader) v0.1.10 [details](https://github.com/Podcastindex-org/helipad/releases/tag/v0.1.10)
|
||||
- Info: Run RaspiBlitz on VirtualBox & TrueNAS [details](https://github.com/rootzoll/raspiblitz/tree/dev/alternative.platforms)
|
||||
- Info: Run RaspiBlitz on amd64 bare metal and virtual machines [details](https://github.com/rootzoll/raspiblitz/tree/dev/alternative.platforms)
|
||||
|
||||
## What's new in Version 1.7.2 of RaspiBlitz?
|
||||
|
||||
@ -74,7 +75,7 @@ There was a small patch-update with raspiblitz-v1.7.1-2021-10-28.img.gz to fix a
|
||||
- New: Suez - channel visualization for LND and CL [info](https://github.com/rootzoll/raspiblitz/issues/2366#issuecomment-939521302)[details](https://github.com/prusnak/suez)
|
||||
- New: LND Static Channel Backup to Nextcloud
|
||||
- New: Allow SphinxApp to connect over Tor
|
||||
- New: Parallel TESTNET & SIGNET services
|
||||
- New: Parallel TESTNET & SIGNET services
|
||||
- Update: Bitcoin Core v22.0 [details](https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-22.0.md)
|
||||
- Update: LND v0.13.3 [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.13.3-beta)
|
||||
- Update: Specter Desktop 1.6.0 [details](https://github.com/cryptoadvance/specter-desktop/blob/master/README.md)
|
||||
@ -152,7 +153,7 @@ There was a small patch-update with raspiblitz-v1.7.1-2021-10-28.img.gz to fix a
|
||||
- Update: BTCPay Server 1.0.5.9 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.0.5.9)
|
||||
- Update: Loop 0.11.1
|
||||
- Update: stacking-sats-kraken 0.3.0
|
||||
- Update: Experimental BTRFS support
|
||||
- Update: Experimental BTRFS support
|
||||
- Fix: DropBox API
|
||||
|
||||
## What's new in Version 1.6.1 of RaspiBlitz?
|
||||
@ -173,7 +174,7 @@ There was a small patch-update with raspiblitz-v1.7.1-2021-10-28.img.gz to fix a
|
||||
- New: Circuit Breaker (config-script) [details](https://github.com/rootzoll/raspiblitz/issues/1581)
|
||||
- New: PyBlock (Python Util & Fun Scripts) [details](https://github.com/curly60e/pyblock/blob/master/README.md)
|
||||
- New: Mempool Explorer [details](https://github.com/mempool/mempool)
|
||||
- New: dynu.com as alternative option for LetsEncrpyt FreeDNS provider
|
||||
- New: dynu.com as alternative option for LetsEncrpyt FreeDNS provider
|
||||
- New: Experimental running RaspiBlitz as VM (vagrant & docker)
|
||||
|
||||
For ALL small bug fixes & improvements see: https://github.com/rootzoll/raspiblitz/milestone/11
|
||||
@ -191,7 +192,7 @@ For ALL small bug fixes & improvements see: https://github.com/rootzoll/raspibli
|
||||
- Update: ElectRS 0.8.5 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#085-1-july-2020)
|
||||
- Update: JoinMarket v0.6.3.1 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.6.3.1)
|
||||
- New: Nginx Web Server
|
||||
- New: Subscriptions Management
|
||||
- New: Subscriptions Management
|
||||
- New: IP2Tor Bridge (optional subscription service)
|
||||
- New: Balance of Satoshis v5.41.0 (with update option) [details](https://github.com/alexbosworth/balanceofsatoshis)
|
||||
- New: Faraday [details](https://github.com/lightninglabs/faraday)
|
||||
@ -205,12 +206,12 @@ For ALL small bug fixes & improvements see: https://github.com/rootzoll/raspibli
|
||||
- Fix: DropBox StaticChannelBackup
|
||||
- Removed: Shango from the list of Mobile Wallets
|
||||
- Removed: Torrent Download of Blockchain (Copy over LAN now default for RP3)
|
||||
- Shoppinglist: 4GB RaspberryPi 4 is now default for Standard Package (will still run with less)
|
||||
- Shoppinglist: 4GB RaspberryPi 4 is now default for Standard Package (will still run with less)
|
||||
|
||||
## What's new in Version 1.5.1 of RaspiBlitz?
|
||||
|
||||
- Bugfix: DropBox Backup of Static-Channel-Backup
|
||||
- Bugfix: Torrentfiles with active tracker
|
||||
- Bugfix: Torrentfiles with active tracker
|
||||
|
||||
## What.s new in Version 1.5 of RaspiBlitz?
|
||||
|
||||
@ -236,7 +237,7 @@ Beside many small improvements and changes, these are most important changes:
|
||||
- New: Make it easier to Copy The Blockchain over Network from running Blitz
|
||||
- New: Forwarding Fee Report on Main Menu
|
||||
- New: Easy Setup of Auto-Backup of SCB to Dropbox
|
||||
- New: LND Interims Updates (verified & reckless) [details](https://github.com/rootzoll/raspiblitz/issues/1116#issuecomment-619467148)
|
||||
- New: LND Interims Updates (verified & reckless) [details](https://github.com/rootzoll/raspiblitz/issues/1116#issuecomment-619467148)
|
||||
- New: Sync RaspiBlitz with your forked GitHub repo thru menu [details](FAQ.md#how-can-i-sync-a-branch-of-my-forked-github-with-my-local-raspiblitz)
|
||||
- Removed: Clone Blockchain from second HDD (use CopyStation script)
|
||||
|
||||
|
@ -20,8 +20,11 @@ OPTIONS+=(MOBILE "Connect Mobile Wallet")
|
||||
if [ "${ElectRS}" == "on" ]; then
|
||||
OPTIONS+=(ELECTRS "Electrum Rust Server")
|
||||
fi
|
||||
if [ "${BTCPayServer}" == "on" ]; then
|
||||
OPTIONS+=(BTCPAY "Show LND connection string")
|
||||
if [ "${BTCPayServer}" == "on" ] && [ "${lnd}" = "on" ]; then
|
||||
OPTIONS+=(BTCPAY-LND "Show LND connection string")
|
||||
fi
|
||||
if [ "${BTCPayServer}" == "on" ] && [ "${cl}" = "on" ]; then
|
||||
OPTIONS+=(BTCPAY-CLN "Show CLN connection string")
|
||||
fi
|
||||
OPTIONS+=(${network}RPC "Connect Specter Desktop or JoinMarket")
|
||||
OPTIONS+=(BISQ "Connect Bisq to this node")
|
||||
@ -50,11 +53,16 @@ case $CHOICE in
|
||||
/home/admin/97addMobileWallet.sh;;
|
||||
ELECTRS)
|
||||
/home/admin/config.scripts/bonus.electrs.sh menu;;
|
||||
BTCPAY)
|
||||
BTCPAY-LND)
|
||||
/home/admin/config.scripts/lnd.export.sh btcpay
|
||||
echo "Press ENTER to return to main menu."
|
||||
read key
|
||||
exit 0;;
|
||||
BTCPAY-CLN)
|
||||
/home/admin/config.scripts/bonus.btcpayserver.sh cln-lightning-rpc-access
|
||||
echo "Press ENTER to return to main menu."
|
||||
read key
|
||||
exit 0;;
|
||||
RESET)
|
||||
sudo /home/admin/config.scripts/lnd.credentials.sh reset
|
||||
sudo /home/admin/config.scripts/lnd.credentials.sh sync
|
||||
|
@ -11,7 +11,7 @@ BTCPayVersion="v1.5.4"
|
||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||
echo "Config script to switch BTCPay Server on or off"
|
||||
echo "Usage:"
|
||||
echo "bonus.btcpayserver.sh [on|off|menu|write-tls-macaroon]"
|
||||
echo "bonus.btcpayserver.sh [on|off|menu|write-tls-macaroon|cln-lightning-rpc-access]"
|
||||
echo "installs BTCPayServer $BTCPayVersion with NBXplorer $NBXplorerVersion"
|
||||
echo "To update to the latest release published on github run:"
|
||||
echo "bonus.btcpayserver.sh update"
|
||||
@ -211,6 +211,38 @@ BTC.lightning=type=lnd-rest;server=https://127.0.0.1:8080/;macaroonfilepath=/hom
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# cln-lightning-rpc-access
|
||||
if [ "$1" = "cln-lightning-rpc-access" ]; then
|
||||
if [ "${cl}" = "on" ]; then
|
||||
source <(/home/admin/config.scripts/network.aliases.sh getvars cl mainnet)
|
||||
|
||||
if [ $(grep -c "^rpc-file-mode=0660" < ${CLCONF}) -eq 0 ]; then
|
||||
echo "rpc-file-mode=0660" | tee -a ${CLCONF}
|
||||
if [ "${state}" == "ready" ]; then
|
||||
sudo systemctl restart lightningd
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "# make sure btcpay is member of the bitcoin group"
|
||||
sudo /usr/sbin/usermod --append --groups bitcoin btcpay
|
||||
|
||||
if [ "${state}" == "ready" ]; then
|
||||
sudo systemctl restart btcpayserver
|
||||
fi
|
||||
else
|
||||
echo "# Install CLN first"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "
|
||||
In the BTCPayServer Lightning Wallet settings 'Connect to a Lightning node' page
|
||||
fill in the 'Connection configuration for your custom Lightning node:' box on with:
|
||||
|
||||
type=clightning;server=unix:///home/bitcoin/.lightning/bitcoin/lightning-rpc
|
||||
"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# switch on
|
||||
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
echo "# INSTALL BTCPAYSERVER"
|
||||
@ -498,8 +530,12 @@ WantedBy=multi-user.target
|
||||
fi
|
||||
|
||||
sudo -u btcpay mkdir -p /home/btcpay/.btcpayserver/Main/
|
||||
/home/admin/config.scripts/bonus.btcpayserver.sh write-tls-macaroon
|
||||
|
||||
if [ ${lnd} = on ]; then
|
||||
/home/admin/config.scripts/bonus.btcpayserver.sh write-tls-macaroon
|
||||
fi
|
||||
if [ ${cl} = on ]; then
|
||||
/home/admin/config.scripts/bonus.btcpayserver.sh cln-lightning-rpc-access
|
||||
fi
|
||||
else
|
||||
echo "# BTCPay Server is already installed."
|
||||
if [ "${state}" == "ready" ]; then
|
||||
|
@ -65,6 +65,13 @@ if [ "${LNBitsFunding}" = "${netprefix}cl" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${BTCPayServer}" = "on" ] && [ "${CHAIN}" = "mainnet" ] ; then
|
||||
# https://github.com/rootzoll/raspiblitz/issues/3007
|
||||
if [ $(grep -c "^rpc-file-mode=0660" < ${CLCONF}) -eq 0 ]; then
|
||||
echo "rpc-file-mode=0660" | tee -a ${CLCONF}
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $(grep -c "^grpc-port" < ${CLCONF}) -gt 0 ];then
|
||||
if [ ! -f /home/bitcoin/${netprefix}cl-plugins-enabled/cln-grpc ]\
|
||||
|| [ "$(eval echo \$${netprefix}cln-grpc-port)" = "off" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user