lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Injectpaymentonion

Open rustyrussell opened this issue 1 year ago • 1 comments

This is a new RPC, improving on sendonion, which takes the same path as an onion coming in an HTLC from a peer. This vastly simplifies handling cases like blinded paths which start at this peer, and self-pay: both are handled automatically.

In addition, the call simply blocks, rather than requiring another call to receive the results.

rustyrussell avatar Oct 18 '24 04:10 rustyrussell

Trivial master rebase, and tests are now split properly (final fixup commit). If this is OK, I'll fold and apply.

rustyrussell avatar Oct 21 '24 22:10 rustyrussell