[Lightning-dev] RouteBoost: Adding 'r=' fields to BOLT 11 invoices to flag capacity
rusty at blockstream.com
Sat Sep 29 01:36:15 UTC 2018
This is now implemented (server side) in c-lightning/master:
(Note that c-lightning doesn't yet *use* the r= information:
implementations should start doing that now though!)
You can test against both my mainnet and testnet nodes:
addresses: 22.214.171.124, 2400:6180:0:d0::5cd2:a001, vww5i3z3fvfkxylz.onion
addresses: 126.96.36.199, 2604:a880:2:d0::2065:5001
You can autogenerate an invoice for testnet with:
If there's insufficient incoming capacity, this *won't* produce an 'r'
hint, but will issue a warning.
Rusty Russell <rusty at blockstream.com> writes:
> Hi all,
> I'm considering a change to c-lightning, where `invoice` would
> automatically append an 'r' field for a channel which has sufficient
> *incoming* capacity for the amount (using a weighted probability across
> our peers).
> This isn't quite what 'r' was for, but it would be a useful
> hint for payment routing and also potentially for establishing an
> initial channel. This is an issue for the Blockstream Store which
> deliberately doesn't advertize an address any more to avoid
> Thoughts welcome!
More information about the Lightning-dev