Update verify.sh script to point to bitcoin.org
Now that downloads are no longer hosted on Sourceforge, update the script to retrieve the binaries and signature file from bitcoin.org.
|7 yıl önce|
|README.md||7 yıl önce|
|verify.sh||7 yıl önce|
This script attempts to download the signature file
SHA256SUMS.asc from https://bitcoin.org.
It first checks if the signature passes, and then downloads the files specified in the file, and checks if the hashes of these files match those that are specified in the signature file.
The script returns 0 if everything passes the checks. It returns 1 if either the signature check or the hash check doesn’t pass. If an error occurs the return value is 2.