rust-lightning/pending_changelog/1856.txt
Elias Rohrer 0edb0e2f84
Expose the channel via which we received a payment
We expose the `channel_id` and `user_channel_id` via which we received a
payment in the `PaymentReceived` event.
2022-11-29 18:49:49 +01:00

9 lines
433 B
Text

## API Updates
- `PaymentReceived` events now have `via_channel_id` and `via_user_channel_id`
fields exposing the hop over which we received an inbound payment. Also,
`ChannelDetails` now expose the currently observed number of `confirmations`
on the funding transaction.
## Backwards Compatibilty
- Inbound payments with HTLCs pending on update to 0.0.113 will result
in a `PaymentReceived` event with `user_channel_id` 0.