]> git.bitcoin.ninja Git - rust-lightning/commit
Allow users to accept skimmed fees in calling `peel_payment_onion` 2023-11-htlc-docs
authorMatt Corallo <git@bluematt.me>
Wed, 29 Nov 2023 23:25:04 +0000 (23:25 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 6 Dec 2023 00:11:02 +0000 (00:11 +0000)
commit63ee03f695e4077adbbe18dbb5624f0bbb0206f5
tree8f36664f45ee02d43b7182077d88acf320e1f4c2
parentc7a89598fe28aa3f68cc73817752a6cdb6be2534
Allow users to accept skimmed fees in calling `peel_payment_onion`

LSP users who wish to use `peel_payment_onion` to understand if
they'd accept an HTLC prior to receit should be able to check the
skimmed fees just like they would for full payment receipt. Thus,
we need to expose the fee-skimming acceptance bool to
`peel_payment_onion`, which we do here, in addition to some doc
cleanups.
lightning/src/ln/onion_payment.rs