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
Metadata
Release files for ldk-lnprototest 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ldk_lnprototest-1.0.1.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ldk_lnprototest-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / ldk_lnprototest-1.0.1.tar.gz
| Download URL | ldk_lnprototest-1.0.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
806acb1f35e9c7ec4e6b2dbd840e1ff7a9765770e25b3849d171f57e141f4264
|
|
BLAKE2b-256 checksum How to use checksums |
eecc286804db1ec291cff3c452829ac1c60c6a9434cd8b61e3ef5080995782ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / ldk_lnprototest-1.0.1-py3-none-any.whl
| Download URL | ldk_lnprototest-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e4552454d0e675cddc3bea6c87b75b3328ad61eacd682f2931e39331ac91e10
|
|
BLAKE2b-256 checksum How to use checksums |
e3bf2cd9b0721b4aa3dd47914668e1382df3628bbaba7325db8b070a0a30aad9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|