Skip to content

Expose per-HTLC forwarded amounts - #1021

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-08-expose-htlc-locator-amounts
Aug 5, 2026
Merged

Expose per-HTLC forwarded amounts#1021
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-08-expose-htlc-locator-amounts

Conversation

@tnull

@tnull tnull commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Preserve LDK's per-HTLC amount when forwarding events cross the LDK Node API boundary. This lets callers attribute multi-HTLC forwards to individual channels.

Store the amount in an optional TLV so previously serialized events continue to decode without it.

Co-Authored-By: HAL 9000

@tnull
tnull requested a review from joostjager August 5, 2026 09:41
@ldk-reviews-bot

ldk-reviews-bot commented Aug 5, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @joostjager as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull mentioned this pull request Aug 5, 2026
Comment thread src/event.rs Outdated
Preserve LDK's per-HTLC amount when forwarding events cross the LDK
Node API boundary. This lets callers attribute multi-HTLC forwards to
individual channels.

Store the amount in an optional TLV so previously serialized events
continue to decode without it.

Co-Authored-By: HAL 9000
@tnull
tnull force-pushed the 2026-08-expose-htlc-locator-amounts branch from c16a292 to df8ab91 Compare August 5, 2026 10:02
@tnull
tnull requested a review from joostjager August 5, 2026 10:02
@tnull
tnull merged commit 931df07 into lightningdevkit:main Aug 5, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants