Skip to content

Commit 08226f7

Browse files
authored
Merge pull request #170 from DigiNode-Tools/develop
v0.10.10 Release
2 parents 64e326b + c29b07b commit 08226f7

3 files changed

Lines changed: 17 additions & 9 deletions

File tree

diginode-setup.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Name: DigiNode Setup v0.10.9
3+
# Name: DigiNode Setup v0.10.10
44
#
55
# Purpose: Install and manage a DigiByte Node and DigiAsset Node via the linux command line.
66
#
@@ -28,7 +28,7 @@
2828
#
2929
# -----------------------------------------------------------------------------------------------------
3030

31-
DGNT_VER_LIVE=0.10.9
31+
DGNT_VER_LIVE=0.10.10
3232
# Last Updated: 2025-02-12
3333

3434
# Convert to a fixed width string of 9 characters to display in the script
@@ -9132,7 +9132,7 @@ donation_qrcode() {
91329132
echo " requested to make a donation so that I can keep improving it."
91339133
echo " Thank you very much for your support, Olly"
91349134
echo ""
9135-
echo -e " >> Find me on Bluesky \e]8;;http://bsky.app.com/profile/olly.st\a@olly.st\e]8;;\a. <<"
9135+
echo -e " >> Find me on Bluesky \e]8;;http://bsky.app.com/profile/olly.st\a@olly.st\e]8;;\a. <<"
91369136
echo ""
91379137
echo " ▄▄▄▄▄▄▄ ▄ ▄ ▄▄▄▄▄ ▄▄▄▄▄▄▄"
91389138
echo " █ ▄▄▄ █ ▀█▄█▀▀██ █▄█ █ ▄▄▄ █"
@@ -12017,7 +12017,9 @@ check_digibyte_core() {
1201712017
str="Checking for latest DigiByte Core pre-release..."
1201812018
printf "%b %s" "${INFO}" "${str}"
1201912019

12020-
DGB_VER_PRERELEASE=$(jq -r 'map(select(.prerelease)) | first | .tag_name' <<< $(echo "$DGB_RELEASE_JSON") | sed 's/v//g')
12020+
# if the most recent release is a pre-release then store the pre-release version number. if the newest release is a regular release then just return 'null'
12021+
DGB_VER_PRERELEASE=$(echo "$DGB_RELEASE_JSON" | jq -r '.[0] | if .prerelease then .tag_name else "null" end' | sed 's/v//g')
12022+
1202112023

1202212024
#########################################################
1202312025
########### TESTING: LATEST PRE-RELEASE #################
@@ -12029,9 +12031,9 @@ check_digibyte_core() {
1202912031
# If there is no pre-release version
1203012032
if [ "$DGB_VER_PRERELEASE" = "null" ]; then
1203112033
sed -i -e "/^DGB_VER_PRERELEASE=/s|.*|DGB_VER_PRERELEASE=|" $DGNT_SETTINGS_FILE
12032-
printf "%b%b %s ${txtred}NOT AVAILABLE${txtrst}\\n" "${OVER}" "${INFO}" "${str}"
1203312034
# Display dialog if DigiByte pre-release was requested but it is unavalable (and if we not running unattended)
1203412035
if [ "$REQUEST_DGB_RELEASE_TYPE" = "prerelease" ] && [ ! "$UNATTENDED_MODE" == true ]; then
12036+
printf "%b%b %s ${txtred}NOT AVAILABLE${txtrst}\\n" "${OVER}" "${INFO}" "${str}"
1203512037
if [ "$DGB_STATUS" = "not_detected" ]; then
1203612038
dialog --no-shadow --keep-tite --colors --backtitle "DigiByte Core pre-release is unavailable!" --title "DigiByte Core pre-release is unavailable!" --msgbox "\n\Z1Warning: No DigiByte Core pre-release is currently available.\Z0\n\nYou requested to install a pre-release version of DigiByte Core using the --dgbpre flag but there is no pre-release version currently available. The current release will be installed instead." 11 ${c}
1203712039
else
@@ -12040,6 +12042,8 @@ check_digibyte_core() {
1204012042
printf "\\n"
1204112043
return
1204212044
fi
12045+
else
12046+
printf "%b%b %s None!\\n" "${OVER}" "${INFO}" "${str}"
1204312047
fi
1204412048
# Since there is no available pre-release, we will switch to the latest release
1204512049
INSTALL_DGB_RELEASE_TYPE="release"

diginode.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Name: DigiNode Dashboard v0.10.9
3+
# Name: DigiNode Dashboard v0.10.10
44
#
55
# Purpose: Monitor and manage the status of you DigiByte Node and DigiAsset Node.
66
#
@@ -59,7 +59,7 @@
5959
# The version number should be three numbers seperated by a period
6060
# Do not change this number or the mechanism for installing updates may no longer work.
6161

62-
DGNT_VER_LOCAL=0.10.9
62+
DGNT_VER_LOCAL=0.10.10
6363
# Last Updated: 2025-02-12
6464

6565
# Convert to a fixed width string of 9 characters to display in the script
@@ -3632,9 +3632,9 @@ if [ "$DGB2_STATUS" = "running" ] && [ "$DGB_DUAL_NODE" = "YES" ]; then
36323632
dgb2_uptime=$(eval "echo $(date -ud "@$dgb2_uptime_seconds" +'$((%s/3600/24)) days %H hours %M minutes %S seconds')")
36333633

36343634
# Calculate when it was first online
3635-
current_time=$(date +"%s")
3635+
current_time=$(date -u +"%s")
36363636
dgb2_start_time=$((current_time - dgb2_uptime_seconds))
3637-
dgb2_online_since=$(date -d "@$dgb2_start_time" +"%H:%M %d %b %Y %Z")
3637+
dgb2_online_since=$(date -ud "@$dgb2_start_time" +"%H:%M %d %b %Y %Z")
36383638

36393639
# Show port warning if connections are less than or equal to 7
36403640
DGB2_CONNECTIONS=$($DGB_CLI -testnet getconnectioncount 2>/dev/null)

docs/release_notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## DigiNode Tools Release Notes
22

3+
DigiNode Tools v0.10.10 - 2025-02-24
4+
- Fix: The time online for the Testnet node in the Dashboard now displays in UTC instead of local time
5+
- Fix: Fixed a showstopping bug that prevented DigiByte Core from being successfully upgraded from a pre-release to the latest release. Somehow I missed this till now. Apologies!
6+
37
DigiNode Tools v0.10.9 - 2025-02-12
48
- New: Dashboard now displays the disk space used by the running blockchain
59
- New: DigiNode CLI and Dashboard now display the version number at launch

0 commit comments

Comments
 (0)