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

Rename pending_relay to pending_commands #1822

Merged
merged 2 commits into from
May 25, 2021
Merged

Rename pending_relay to pending_commands #1822

merged 2 commits into from
May 25, 2021

Conversation

pm47
Copy link
Member

@pm47 pm47 commented May 25, 2021

Naming was confusing because it led to believe messages were related to
htlcs that have not yet been relayed, whereas those are settlement
messages, meaning that htlcs have been relayed and are pending resolution
upstream.

The database has been renamed to a more generic PendingCommandsDb
because we may store other types of commands for which we need reliable
delivery.

pm47 added 2 commits May 25, 2021 14:36
Naming was confusing because it led to believe messages were related to
htlcs that have not yet been relayed, whereas those are settlement
messages, meaning that htlcs have relayed and are pending resolution
upstream.

The database has been renamed to a more generic `PendingCommandsDb`
because we may store other types of commands for which we need reliable
delivery.
@pm47 pm47 requested a review from t-bast May 25, 2021 12:41
Copy link
Member

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

LGTM

@pm47 pm47 merged commit 98cae45 into master May 25, 2021
@pm47 pm47 deleted the rename-pending-relay branch May 25, 2021 13:06
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.

2 participants