Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnrpc: add htlc attempt id #4956

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

joostjager
Copy link
Contributor

Small addition that makes the output of TrackPayment more digestible for applications.

Without an identifier, it is more difficult to compare subsequent snapshots of the payment state. An application would need to rely on the ordering to know that an attempt is still the same attempt as in the previous snapshot.

In particular when logging payment progress, it is nice to be able to print out a delta and not the full payment state every time. That can get spammy.

Copy link
Collaborator

@carlaKC carlaKC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition!

Copy link
Collaborator

@bhandras bhandras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cfromknecht cfromknecht merged commit 626e732 into lightningnetwork:master Jan 28, 2021
@Roasbeef Roasbeef added this to the 0.13.0 milestone Jan 28, 2021
@cfromknecht cfromknecht mentioned this pull request Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants