Merge pull request #3147 from xanimo/1.21-dev-ltc-scrypt

qa: update ltc_scrypt installation script and documentation
This commit is contained in:
Old Dip Tracker 2022-10-26 03:50:52 -04:00 committed by GitHub
commit d5d056d009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 9 deletions

View File

@ -24,6 +24,12 @@ Before tests can be run locally, Bitcoin Core must be built. See the [building
#### Dependencies
`ltc_scrypt` is required. On an OS with `curl`, `python3`, `python3-pip` and `python3-setuptools` it can be installed via:
```
./test/functional/install-deps.sh
```
The ZMQ functional test requires a python ZMQ library. To install it:
- on Unix, run `sudo apt-get install python3-zmq`

View File

@ -1,12 +1,9 @@
#!/usr/bin/env bash
#!/bin/bash
export LC_ALL=C
# installs test dependencies
curl --location --fail -O https://github.com/langerhans/ltc-scrypt/archive/master.tar.gz
echo "ade3cdf498927990b6d153d74f0da104114e838584be5a81bef8972accd03341 master.tar.gz" | sha256sum -c
tar zxf master.tar.gz
pushd ltc-scrypt-master || exit
python3 setup.py install --user
popd || exit
file=v1.0.1.tar.gz
curl -L -O https://github.com/dogecoin/ltc-scrypt/archive/refs/tags/$file
echo "e866ade37fb27439ae0ca32f1ee4ad32be428c1fdac9bcc988b36c68648ff0de $file" | sha256sum -c
python3 -m pip install $file --user
rm -rf $file