Merge pull request #1307 from openoms/update

Updates for BTCpay and JoinMarket
This commit is contained in:
Christian Rotzoll 2020-07-01 15:19:55 +02:00 committed by GitHub
commit b4e54ccd51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 98 additions and 5 deletions

3
FAQ.md
View File

@ -8,8 +8,9 @@
- Update: LND version 0.10.1-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.10.1-beta)
- Update: Specter Desktop 0.4.1 [details](https://github.com/cryptoadvance/specter-desktop/blob/master/README.md)
- Update: Loop 0.6.4 [details](https://lightning.engineering/posts/2020-05-13-loop-mpp/)
- Update: BTCPayServer v1.0.4.4+ [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.0.4.4)
- Update: BTCPayServer v1.0.5.2 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.0.5.2)
- Update: RTL 0.7.1 [details](https://github.com/Ride-The-Lightning/RTL/releases/tag/v0.7.1)
- 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: IP2Tor Bridge (optional subscription service)

View File

@ -170,6 +170,7 @@ if [ -f "/usr/bin/python3.7" ]; then
elif [ -f "/usr/bin/python3.8" ]; then
# use python 3.8 if available
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
sudo ln -s /usr/bin/python3.8 /usr/bin/python3.7
echo "python calls python3.8"
else
echo "!!! FAIL !!!"

View File

@ -275,7 +275,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
cd NBXplorer
# check https://github.com/dgarage/NBXplorer/releases
sudo -u btcpay git reset --hard v2.1.24
sudo -u btcpay git reset --hard v2.1.34
# from the build.sh with path
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release NBXplorer/NBXplorer.csproj
@ -350,9 +350,9 @@ EOF
sudo -u btcpay git clone https://github.com/btcpayserver/btcpayserver.git 2>/dev/null
cd btcpayserver
# check https://github.com/btcpayserver/btcpayserver/releases
# sudo -u btcpay git reset --hard v1.0.4.2
sudo -u btcpay git reset --hard v1.0.5.2
# use latest commit (v1.0.4.4+) to fix build with latest dotNet
sudo -u btcpay git checkout f2bb24f6ab6d402af8214c67f84e08116eb650e7
# sudo -u btcpay git checkout f2bb24f6ab6d402af8214c67f84e08116eb650e7
# from the build.sh with path
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release /home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj

View File

@ -0,0 +1,91 @@
# Download and run this script to the Linux desktop:
# Download
# wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrum_wallet.sh
# Run:
# bash electrum_wallet.sh
echo "
Enter the version of Electrum Wallet to install.
Find the latest version number at:
https://electrum.org/#download
For example: '3.3.8' or '4.0.0b0'"
read electrumVersion
echo "
Install dependencies: python3-pyqt5 and libsecp256k1-0
"
sudo apt-get install -y python3-pyqt5 libsecp256k1-0
echo "
Download the package:
https://download.electrum.org/$electrumVersion/Electrum-$electrumVersion.tar.gz
"
rm -f Electrum-$electrumVersion.tar.gz.*
wget https://download.electrum.org/$electrumVersion/Electrum-$electrumVersion.tar.gz
echo "
Verify signature
"
rm -f ThomasV.asc
wget https://raw.githubusercontent.com/spesmilo/electrum/master/pubkeys/ThomasV.asc
gpg --import ThomasV.asc
wget https://download.electrum.org/$electrumVersion/Electrum-$electrumVersion.tar.gz.asc
verifyResult=$(gpg --verify Electrum-$electrumVersion.tar.gz.asc 2>&1)
goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c)
echo "goodSignature(${goodSignature})"
if [ ${goodSignature} -lt 1 ]; then
echo ""
echo "!!! BUILD FAILED --> PGP Verify not OK / signature(${goodSignature})"
exit 1
fi
echo "
Installing with the command:
python3 -m pip install --user Electrum-$electrumVersion.tar.gz[fast]
"
# Run without installing: tar -xvf Electrum-$electrumVersion.tar.gz
# python3 Electrum-$electrumVersion/run_electrum
# Install with PIP:
sudo apt-get install -y python3-setuptools python3-pip
python3 -m pip install --user Electrum-$electrumVersion.tar.gz[fast]
isInPath=$(echo $PATH | grep -c ~/.local/bin)
if [ $isInPath -eq 0 ]; then
echo ""
echo "add install dir to PATH"
PATH=$PATH:~/.local/bin
touch ~/.profile
export PATH
echo "PATH=$PATH" | tee -a ~/.profile
else
echo ""
echo "The install dir is already in the PATH"
fi
echo "
To start use:
'electrum --oneserver --server YOUR_ELECTRUM_SERVER_IP:50002:s'
To start with your custom server now and save the setting:
type the LAN_IP_ADDRESS of your Electrum Server followed by [ENTER]:"
read RASPIBLITZ_IP
echo "
Make the oneserver config persist (editing ~/.electrum/config)
"
electrum setconfig oneserver true
electrum setconfig server $RASPIBLITZ_IP:50002:s
echo "
To run with the chosen server, just use:
'electrum'
To change the preset server:
edit the file ~/.electrum/config and change:
\"server\": \"<your__ IP_domain_or_dynDNS>:50002:s\"
"
electrum --oneserver --server $RASPIBLITZ_IP:50002:s

View File

@ -100,7 +100,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
sudo -u joinmarket git clone https://github.com/Joinmarket-Org/joinmarket-clientserver
cd joinmarket-clientserver
git reset --hard v0.6.2
git reset --hard v0.6.3.1
# set up jmvenv
sudo apt install -y virtualenv

View File