Skip to main content

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:

  1. Clone Lnprototest:

    git clone https://github.com/rustyrussell/lnprototest.git
    
  2. Clone LDK-Sample:

    git clone https://github.com/Psycho-Pirate/ldk-sample.git
    
  3. Build LDK-Sample:

    cd ldk-sample
    cargo build
    
  4. Set environment variables:

    export LDK_SRC=[path to ldk-sample repo]
    export PYTHONPATH=$PYTHONPATH:[path to lnprototest repo]
    
  5. Install the runner:

    pip install ldk-lnprototest
    
  6. 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)

Source distribution for ldk-lnprototest 1.0.1
File Size Uploaded Provenance Actions
ldk_lnprototest-1.0.1.tar.gz 5.7 kB Without provenance Details for ldk_lnprototest-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ldk-lnprototest 1.0.1
File Interpreter ABI Platform Actions
ldk_lnprototest-1.0.1-py3-none-any.whl Python 3 none any Details for ldk_lnprototest-1.0.1-py3-none-any.whl

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

Security for ldk-lnprototest 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page