Skip to main content

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:

  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
    

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ldk_lnprototest-1.0.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for ldk_lnprototest-1.0.1.tar.gz
Algorithm Hash digest
SHA256 806acb1f35e9c7ec4e6b2dbd840e1ff7a9765770e25b3849d171f57e141f4264
MD5 896469286f6a1ffb8ff6d1b60228c79b
BLAKE2b-256 eecc286804db1ec291cff3c452829ac1c60c6a9434cd8b61e3ef5080995782ff

See more details on using hashes here.

File details

Details for the file ldk_lnprototest-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ldk_lnprototest-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e4552454d0e675cddc3bea6c87b75b3328ad61eacd682f2931e39331ac91e10
MD5 9c61e2bfef5b37f75018892bfb8930c8
BLAKE2b-256 e3bf2cd9b0721b4aa3dd47914668e1382df3628bbaba7325db8b070a0a30aad9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page