Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Bitcoin core 25.0 #48

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Scripts/LinodeStandUp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fi

# CURRENT BITCOIN RELEASE:
# Change as necessary
export BITCOIN="bitcoin-core-23.0"
export BITCOIN="bitcoin-core-25.0"

# Output stdout and stderr to ~root files
exec > >(tee -a /standup.log) 2> >(tee -a /standup.log /standup.err >&2)
Expand Down Expand Up @@ -135,6 +135,9 @@ apt-get install haveged -y
# Install GPG
apt-get install gnupg -y

# Install unzip
apt-get install unzip

# Set system to automatically update
echo "unattended-upgrades unattended-upgrades/enable_auto_updates boolean true" | debconf-set-selections
apt-get -y install unattended-upgrades
Expand Down Expand Up @@ -273,8 +276,9 @@ sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/$BITCOINPLAIN-x86_64-l
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS.asc -O ~standup/SHA256SUMS.asc -a ~standup/.logs/wget
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS -O ~standup/SHA256SUMS -a ~standup/.logs/wget

sudo -u standup wget https://raw.githubusercontent.com/bitcoin/bitcoin/23.x/contrib/builder-keys/keys.txt -O ~standup/keys.txt -a ~standup/.logs/wget
sudo -u standup sh -c 'while read fingerprint keyholder_name; do gpg --keyserver hkps://keys.openpgp.org --recv-keys ${fingerprint}; done < ~standup/keys.txt'
sudo -u standup wget https://github.com/bitcoin-core/guix.sigs/archive/refs/heads/main.zip -O ~standup/guix.sigs-main.zip -a ~standup/.logs/wget
sudo -u standup unzip ~standup/guix.sigs-main.zip -d ~standup/
sudo -u standup gpg --import ~standup/guix.sigs-main/builder-keys/*

cat ~standup/.logs/wget >> /standup.log
cat ~standup/.logs/wget >> /standup.err
Expand Down
10 changes: 7 additions & 3 deletions Scripts/StandUp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ apt-get install gnupg -y
# Install dirmngr
apt-get install dirmngr

# Install unzip
apt-get install unzip

# Set system to automatically update
echo "unattended-upgrades unattended-upgrades/enable_auto_updates boolean true" | debconf-set-selections
apt-get -y install unattended-upgrades
Expand Down Expand Up @@ -302,7 +305,7 @@ echo "$0 - Downloading Bitcoin; this will also take a while!"

# CURRENT BITCOIN RELEASE:
# Change as necessary
export BITCOIN="bitcoin-core-23.0"
export BITCOIN="bitcoin-core-25.0"
export BITCOINPLAIN=`echo $BITCOIN | sed 's/bitcoin-core/bitcoin/'`

sudo -u standup mkdir ~standup/.logs
Expand All @@ -311,8 +314,9 @@ sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/$BITCOINPLAIN-x86_64-l
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS.asc -O ~standup/SHA256SUMS.asc -a ~standup/.logs/wget
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS -O ~standup/SHA256SUMS -a ~standup/.logs/wget

sudo -u standup wget https://raw.githubusercontent.com/bitcoin/bitcoin/23.x/contrib/builder-keys/keys.txt -O ~standup/keys.txt -a ~standup/.logs/wget
sudo -u standup sh -c 'while read fingerprint keyholder_name; do gpg --keyserver hkps://keys.openpgp.org --recv-keys ${fingerprint}; done < ~standup/keys.txt'
sudo -u standup wget https://github.com/bitcoin-core/guix.sigs/archive/refs/heads/main.zip -O ~standup/guix.sigs-main.zip -a ~standup/.logs/wget
sudo -u standup unzip ~standup/guix.sigs-main.zip -d ~standup/
sudo -u standup gpg --import ~standup/guix.sigs-main/builder-keys/*

cat ~standup/.logs/wget >> /standup.log
cat ~standup/.logs/wget >> /standup.err
Expand Down