Skip to content

[feature]: Add htlc_id to lnrpc.HTLCAttempt and lnrpc.ForwardingEvent #9656

@feelancer21

Description

@feelancer21

There is already a field htlc_index in lnrpc.InvoiceHTLC. The indices should also be available in lnrpc.HTLCAttempt for payments or lnrpc.ForwardingEvent.
The availability of the indices would be particularly useful in order to be able to store and reconcile the data better externally.

Example:
There is currently no stream for ForwardingEvents. You can use SubscribeHtlcEvents, but after a downtime you might have to search for gaps with ForwardingHistory. Without a unique index, it will be difficult to find these gaps, as the timestamps are also different.

Metadata

Metadata

Assignees

Labels

enhancementImprovements to existing features / behaviourintermediateIssues suitable for developers moderately familiar with the codebase and LNpaymentsRelated to invoices/payments

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions