Start9Labs / c-lightning-pruning-plugin

A plugin for c-lightning that manages pruning of bitcoind such that it can always sync.
https://crates.io/crates/c-lightning-pruning-plugin
MIT License
2 stars 3 forks source link

c-lightning-pruning-plugin

This plugin manages pruning of bitcoind such that it can always sync

Command line options

Installation and Usage

Install cargo

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

From Crates.io

cargo install c-lightning-pruning-plugin
bitcoind -prune=1 
lightningd --plugin=~/.cargo/bin/c-lightning-pruning-plugin

From Source

git clone https://github.com/Start9Labs/c-lightning-pruning-plugin.git
cd c-lightning-pruning-plugin
cargo build --release
bitcoind -prune=1
lightningd --plugin=/path/to/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin