ElementsProject / ElementsProject/lightning

grpc: Add "created_at" to listInvoices rpc

Open
#7,168 2 comments 1 reaction 0 assignees View on GitHub
cln-grpc feature rust
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

I try to display a nice transaction history, but I cannot insert an unpaid invoice into the timeline at the correct position, as there is no information on when it was created.

Either a "created_at" timestamp is needed, or an "expiry" field has to be provided.
In the second case I could calculate the created_at by doing "expires_at" - "expiry".

Link to the docs for the enpoint that needs the change:
https://docs.corelightning.org/reference/lightning-listinvoices

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.