From a3c654768ca917a3e53a28116c30ba89d16f2838 Mon Sep 17 00:00:00 2001 From: Otto Sabart Date: Sat, 15 Apr 2023 21:00:00 +0200 Subject: [PATCH] docs: trustedcoin: add info about possible problems --- README.md | 2 +- docs/services.md | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e7150a..ba24157 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ NixOS modules ([src](modules/modules.nix)) * [prometheus](https://github.com/lightningd/plugins/tree/master/prometheus): lightning node exporter for the prometheus timeseries server * [rebalance](https://github.com/lightningd/plugins/tree/master/rebalance): keeps your channels balanced * [summary](https://github.com/lightningd/plugins/tree/master/summary): print a nice summary of the node status - * [trustedcoin](https://github.com/nbd-wtf/trustedcoin): replaces bitcoind with trusted public explorers + * [trustedcoin](https://github.com/nbd-wtf/trustedcoin) [[experimental](docs/services.md#trustedcoin-hints)]: replaces bitcoind with trusted public explorers * [zmq](https://github.com/lightningd/plugins/tree/master/zmq): publishes notifications via ZeroMQ to configured endpoints * [clightning-rest](https://github.com/Ride-The-Lightning/c-lightning-REST): REST server for clightning * [lnd](https://github.com/lightningnetwork/lnd) with support for announcing an onion service and [static channel backups](https://github.com/lightningnetwork/lnd/blob/master/docs/recovery.md) diff --git a/docs/services.md b/docs/services.md index d677b57..af692df 100644 --- a/docs/services.md +++ b/docs/services.md @@ -621,3 +621,27 @@ services.clightning = { ``` Please have a look at the module for a plugin (e.g. [prometheus.nix](../modules/clightning-plugins/prometheus.nix)) to learn its configuration options. + +### Trustedcoin hints +The [trustedcoin](https://github.com/nbd-wtf/trustedcoin) plugin use a Tor +proxy for all of its external connections by default. That's why you can +sometimes face issues with your connections to esploras getting blocked. + +An example of clightning log error output in a case your connections are getting blocked: + +``` +lightningd[5138]: plugin-trustedcoin estimatefees error: https://blockstream.info/api error: 403 Forbidden +``` + +``` +lightningd[4933]: plugin-trustedcoin getblock error: got something that isn't a block hash: +lightningd[4933]: