Ldk-Sample Runner for Lnprototest
Project description
Lnprototest Runner for LDK-Sample
This is a runner script for LDK-Sample. It can be used to run Lnprototest tests against a LDK-Sample node.
Usage
To run against Lnprototest BOLT tests:
-
Clone Lnprototest:
git clone https://github.com/rustyrussell/lnprototest.git
-
Clone LDK-Sample:
git clone https://github.com/Psycho-Pirate/ldk-sample.git
-
Build LDK-Sample:
cd ldk-sample cargo build
-
Set environment variables:
export LDK_SRC=[path to ldk-sample repo] export PYTHONPATH=$PYTHONPATH:[path to lnprototest repo]
-
Install the runner:
pip install ldk-lnprototest
-
Run the tests:
pytest [path to lnprototest repo]/tests --runner=ldk_lnprototest.Runner --log-cli-level=DEBUG
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ldk_lnprototest-1.0.1.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ldk_lnprototest-1.0.1.tar.gz.
File metadata
- Download URL: ldk_lnprototest-1.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
806acb1f35e9c7ec4e6b2dbd840e1ff7a9765770e25b3849d171f57e141f4264
|
|
| MD5 |
896469286f6a1ffb8ff6d1b60228c79b
|
|
| BLAKE2b-256 |
eecc286804db1ec291cff3c452829ac1c60c6a9434cd8b61e3ef5080995782ff
|
File details
Details for the file ldk_lnprototest-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ldk_lnprototest-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4552454d0e675cddc3bea6c87b75b3328ad61eacd682f2931e39331ac91e10
|
|
| MD5 |
9c61e2bfef5b37f75018892bfb8930c8
|
|
| BLAKE2b-256 |
e3bf2cd9b0721b4aa3dd47914668e1382df3628bbaba7325db8b070a0a30aad9
|