c-lightning-pruning-plugin

Crates.ioc-lightning-pruning-plugin
lib.rsc-lightning-pruning-plugin
version0.1.1
sourcesrc
created_at2020-03-22 19:20:09.733035
updated_at2020-08-10 19:12:24.333449
descriptionA plugin for c-lightning that manages pruning of bitcoind such that it can always sync.
homepage
repositoryhttps://github.com/Start9Labs/c-lightning-pruning-plugin
max_upload_size
id221514
size59,810
Aiden McClelland (dr-bonez)

documentation

https://docs.rs/c-lightning-pruning-plugin

README

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
Commit count: 16

cargo fmt