mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
We expose the `channel_id` and `user_channel_id` via which we received a payment in the `PaymentReceived` event.
9 lines
433 B
Text
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.
|