mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
304ae6dc8e
This key is no-longer in use: https://lists.linuxfoundation.org/pipermail/bitcoin-core-dev/2023-February/000115.html |
||
---|---|---|
.. | ||
README.md | ||
verify.py |
Verify Binaries
Usage:
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.
./verify.py bitcoin-core-0.11.2
./verify.py bitcoin-core-0.12.0
./verify.py bitcoin-core-0.13.0-rc3
If you only want to download the binaries of certain platform, add the corresponding suffix, e.g.:
./verify.py bitcoin-core-0.11.2-osx
./verify.py 0.12.0-linux
./verify.py bitcoin-core-0.13.0-rc3-win64
If you do not want to keep the downloaded binaries, specify anything as the second parameter.
./verify.py bitcoin-core-0.13.0 delete