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

Error on launch #1

Open Fonta1n3 opened 4 years ago

Fonta1n3 commented 4 years ago

After following install instructions from source and running lightning I get two errors:

INFO plugin-c-lightning-pruning-plugin: Killing plugin: Plugin exited before completing handshake. Error: reqwest::Error { kind: Builder, source: "unknown proxy scheme" }

Fonta1n3 commented 4 years ago

Update: commenting out the tor related args from the lightning conf seemed to help, it would be great to use this plugin alongside those proxy settings. Any advice on how to fix this?

I had to use the following conf to get it to work:

plugin=/Users/peter/.lightning/plugins/c-lightning-http-plugin/target/release/c-lightning-http-plugin
plugin=/Users/peter/.lightning/plugins/c-lightning-pruning-plugin/target/release/c-lightning-pruning-plugin
#proxy=127.0.0.1:9050
#bind-addr=127.0.0.1:9735
#addr=statictor:127.0.0.1:9051
#always-use-proxy=true
log-file=/Users/Peter/.lightning/lightning.log
log-level=debug:plugin
dr-bonez commented 3 years ago

IIRC this was fixed in 0.1.1. Can you confirm?