Browse Source

[contrib] Remove reference to sf and add doc to verify.sh

0.13
MarcoFalke 9 years ago committed by Wladimir J. van der Laan
parent
commit
f154470070
  1. 4
      contrib/README.md
  2. 9
      contrib/verifybinaries/README.md
  3. 0
      contrib/verifybinaries/verify.sh

4
contrib/README.md

@ -51,5 +51,5 @@ Test and Verify Tools
### [TestGen](/contrib/testgen) ### ### [TestGen](/contrib/testgen) ###
Utilities to generate test vectors for the data-driven Bitcoin tests. Utilities to generate test vectors for the data-driven Bitcoin tests.
### [Verify SF Binaries](/contrib/verifysfbinaries) ### ### [Verify Binaries](/contrib/verifybinaries) ###
This script attempts to download and verify the signature file SHA256SUMS.asc from SourceForge. This script attempts to download and verify the signature file SHA256SUMS.asc from bitcoin.org.

9
contrib/verifysfbinaries/README.md → contrib/verifybinaries/README.md

@ -1,6 +1,13 @@
### Verify Binaries ### ### Verify Binaries
This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org. 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. 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. 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.
Usage:
```sh
./verify.sh bitcoin-core-0.11.2
./verify.sh bitcoin-core-0.12.0
```

0
contrib/verifysfbinaries/verify.sh → contrib/verifybinaries/verify.sh

Loading…
Cancel
Save