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 --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.0.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.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file ldk_lnprototest-1.0.0.tar.gz.

File metadata

  • Download URL: ldk_lnprototest-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 20fc6b8ed4b9c7c72a15c09591738e7b449ef306b7c95ca527cb983a91a058be
MD5 66b3c4de5ea2473861260c3cb6e49535
BLAKE2b-256 fba7cf75675d3c7e6448a8fc83f2b366379c5f8b4347c0708cba645b509c9f58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ldk_lnprototest-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17632ef91a44d935aec674956db7010ebe449842daaa7488aa5e76553f1e83d7
MD5 d551c219d30efb9ac92658789afbfd5a
BLAKE2b-256 e053d3f77fc8b181f5043bfa305b5baf676d7b6bff285b2a662e77d9ad96a59b

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