#pruning #manage #sync #bitcoind #plugin #c-lightning #pruning-interval

app c-lightning-pruning-plugin

A plugin for c-lightning that manages pruning of bitcoind such that it can always sync

2 releases

0.1.1 Aug 10, 2020
0.1.0 Mar 22, 2020

#6 in #pruning

MIT license

25KB
652 lines

c-lightning-pruning-plugin

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

Command line options

  • pruning-interval
    • number of seconds to wait between pruning checks
    • default: 600

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
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
lightningd --plugin=/path/to/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin

Dependencies

~8–13MB
~226K SLoC