doc: document default currencyconvert sources.
What changed, and why it matters
This commit is a documentation-only change. It adds a list of default currency conversion data sources to the manual page for the lightningd configuration. There is no code change and no security relevance.
No action required. This is a benign documentation update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates doc/lightningd-config.5.md to document the built-in currencyconvert sources used by the cln-currencyrate plugin. It fixes a typo (‘specifiy’ to ‘specify’) and adds a bullet list of default API endpoints. No executable code is modified.
Changed components
doc/lightningd-config.5.mdInspect captured patch +10 / −1
diff --git a/doc/lightningd-config.5.md b/doc/lightningd-config.5.md
index a0822b62..4832809d 100644
--- a/doc/lightningd-config.5.md
+++ b/doc/lightningd-config.5.md
@@ -754,7 +754,16 @@ authenticate to the Tor control port.
can have `{currency}` and `{currency_lc}` to substitute for upper-case and
lower-case currency names. `MEMBERS` is how to deconstruct the result, for
example if the result is `{"USD": {"last_trade": 12456.79}}` then `MEMBERS`
- would be `USD,last_trade`. If you need to deconstruct an array specifiy it's position with it's index, starting at 0. (added in v26.04)
+ would be `USD,last_trade`. If you need to deconstruct an array specify it's position with it's index, starting at 0. (added in v26.04)
+
+ The default sources are:
+ * coingecko: https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs\_currencies={currency\_lc}
+ * kraken: https://api.kraken.com/0/public/Ticker?pair=XXBTZ{currency}
+ * blockchain: https://blockchain.info/ticker
+ * bitstamp: https://www.bitstamp.net/api/v2/ticker/btc{currency\_lc}
+ * coindesk: https://data-api.coindesk.com/index/cc/v1/latest/tic
+ * coinbase: https://api.coinbase.com/v2/prices/BTC-{currency}/spot
+ * binance: https://data-api.binance.vision/api/v3/ticker/price?symbol=BTC{currency}
* **currencyrate-disable-source**=*NAME* [plugin `cln-currencyrate`]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.