mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Upgrade Pool to v0.5.1
This commit is contained in:
parent
6f1488cb6a
commit
0bcc9a9435
|
@ -362,10 +362,12 @@ if [ "$CURRENT" != "$POOL_VERSION" ]; then
|
||||||
|
|
||||||
wget $POOL_UPGRADE_URL
|
wget $POOL_UPGRADE_URL
|
||||||
wget $POOL_UPGRADE_MANIFEST_URL -O manifest.txt
|
wget $POOL_UPGRADE_MANIFEST_URL -O manifest.txt
|
||||||
wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig
|
wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.asc
|
||||||
|
|
||||||
gpg --verify manifest.txt.sig manifest.txt
|
gpg --verify manifest.txt.asc
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
|
sha256sum -c manifest.txt --ignore-missing
|
||||||
|
|
||||||
# Install Pool
|
# Install Pool
|
||||||
tar -xzf pool-*.tar.gz
|
tar -xzf pool-*.tar.gz
|
||||||
mv $POOL_ARCH-$POOL_VERSION pool
|
mv $POOL_ARCH-$POOL_VERSION pool
|
||||||
|
|
|
@ -16,11 +16,11 @@ LOOP_LATEST_VERSION_FILE=/home/bitcoin/.mynode/loop_version_latest
|
||||||
LOOP_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/loop/releases/download/$LOOP_VERSION/manifest-$LOOP_VERSION.txt
|
LOOP_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/loop/releases/download/$LOOP_VERSION/manifest-$LOOP_VERSION.txt
|
||||||
LOOP_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/loop/releases/download/$LOOP_VERSION/manifest-$LOOP_VERSION.txt.sig
|
LOOP_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/loop/releases/download/$LOOP_VERSION/manifest-$LOOP_VERSION.txt.sig
|
||||||
|
|
||||||
POOL_VERSION="v0.5.0-alpha"
|
POOL_VERSION="v0.5.1-alpha"
|
||||||
POOL_VERSION_FILE=/home/bitcoin/.mynode/pool_version
|
POOL_VERSION_FILE=/home/bitcoin/.mynode/pool_version
|
||||||
POOL_LATEST_VERSION_FILE=/home/bitcoin/.mynode/pool_version_latest
|
POOL_LATEST_VERSION_FILE=/home/bitcoin/.mynode/pool_version_latest
|
||||||
POOL_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt
|
POOL_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt
|
||||||
POOL_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt.sig
|
POOL_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt.asc
|
||||||
|
|
||||||
LIT_VERSION="v0.5.0-alpha"
|
LIT_VERSION="v0.5.0-alpha"
|
||||||
LIT_VERSION_FILE=/home/bitcoin/.mynode/lit_version
|
LIT_VERSION_FILE=/home/bitcoin/.mynode/lit_version
|
||||||
|
|
|
@ -433,10 +433,12 @@ if [ "$CURRENT" != "$POOL_VERSION" ]; then
|
||||||
|
|
||||||
wget $POOL_UPGRADE_URL
|
wget $POOL_UPGRADE_URL
|
||||||
wget $POOL_UPGRADE_MANIFEST_URL -O manifest.txt
|
wget $POOL_UPGRADE_MANIFEST_URL -O manifest.txt
|
||||||
wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig
|
wget $POOL_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.asc
|
||||||
|
|
||||||
gpg --verify manifest.txt.sig manifest.txt
|
gpg --verify manifest.txt.asc
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
|
sha256sum -c manifest.txt --ignore-missing
|
||||||
|
|
||||||
# Install Pool
|
# Install Pool
|
||||||
tar -xzf pool-*.tar.gz
|
tar -xzf pool-*.tar.gz
|
||||||
mv $POOL_ARCH-$POOL_VERSION pool
|
mv $POOL_ARCH-$POOL_VERSION pool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user