Skip to content
Draft
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
7 changes: 7 additions & 0 deletions nodebuilder
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ bitcoin_tarball_test()
fi
UNIT_TEST_RESPONSE="$("${BITCOIN_INSTALL_BIN_SOURCE}"/test_bitcoin 2>&1)"
readonly UNIT_TEST_RESPONSE
log_verbose "${UNIT_TEST_RESPONSE}"
case "${UNIT_TEST_RESPONSE}" in
*'No errors detected'*) ;;
*)
Expand All @@ -397,6 +398,7 @@ bitcoin_tarball_validate()

GPG_GOOD_SIGNATURE_COUNT="$(bitcoin_tarball_validate_count_signatures)"
readonly GPG_GOOD_SIGNATURE_COUNT
log_verbose "GPG_GOOD_SIGNATURE_COUNT=${GPG_GOOD_SIGNATURE_COUNT}"
if [ "${GPG_GOOD_SIGNATURE_COUNT}" -lt "${GPG_GOOD_SIGNATURES_REQUIRED}" ]; then
throw_error "INVALID SIGNATURES. The download has failed. This script cannot continue due to security concerns. Please review the temporary file ${TEMP_DIRECTORY}/${GPG_SIGNATURES_FILE}."
fi
Expand Down Expand Up @@ -1358,6 +1360,11 @@ log_success()
printf '\n'
}

log_verbose()
{
printf '[%s] DEBUG: %s\n' "$(get_log_timestamp)" "$*"
}

log_warning()
{
printf "[%s] WARN: ${CONSOLE_COLOR_YELLOW:-}%s" "$(get_log_timestamp)" "$*"
Expand Down
Loading